[Intel-gfx] [PATCH v2 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-30 Thread Mauro Carvalho Chehab
On some devices, the hda driver needs to hook into a video driver, in order to be able to properly access the audio hardware and/or the power management function. That's the case of several snd_hda_intel devices that depends on i915 driver. Ensure that a proper reference between the snd-hda drive

[Intel-gfx] [PATCH v2 0/2] Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Mauro Carvalho Chehab
Currently, kernel/module annotates module dependencies when request_symbol is used, but it doesn't cover more complex inter-driver dependencies that are subsystem and/or driver-specific. In the case of hdmi sound, depending on the CPU/GPU, sometimes the snd_hda_driver can talk directly with the ha

[Intel-gfx] [PATCH v2 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Mauro Carvalho Chehab
Sometimes, device drivers are bound into each other via try_module_get(), making such references invisible when looking at /proc/modules or lsmod. Add a function to allow setting up module references for such cases, and call it when try_module_get() is used. Reviewed-by: Dan Williams Signed-off-

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Let userspace know when snd-hda-intel needs i915 (rev2)

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 (rev2) URL : https://patchwork.freedesktop.org/series/103315/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

[Intel-gfx] ✓ Fi.CI.BAT: success for Let userspace know when snd-hda-intel needs i915 (rev2)

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 (rev2) URL : https://patchwork.freedesktop.org/series/103315/ State : success == Summary == CI Bug Log - changes from CI_DRM_11584 -> Patchwork_103315v2 Summary -

Re: [Intel-gfx] [PATCH v2 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Greg KH
On Sat, Apr 30, 2022 at 11:30:58AM +0100, Mauro Carvalho Chehab wrote: > Sometimes, device drivers are bound into each other via try_module_get(), > making such references invisible when looking at /proc/modules or lsmod. > > Add a function to allow setting up module references for such > cases, a

[Intel-gfx] ✗ Fi.CI.IGT: failure for Let userspace know when snd-hda-intel needs i915 (rev2)

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 (rev2) URL : https://patchwork.freedesktop.org/series/103315/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11584_full -> Patchwork_103315v2_full

Re: [Intel-gfx] [PATCH v2 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Mauro Carvalho Chehab
Em Sat, 30 Apr 2022 14:04:59 +0200 Greg KH escreveu: > On Sat, Apr 30, 2022 at 11:30:58AM +0100, Mauro Carvalho Chehab wrote: > Did you run checkpatch on this? Please do :) > > > + > > + if (mod == this) > > + return 0; > > How can this happen? > When people mistakenly call try_

[Intel-gfx] [PATCH v3 0/2] Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Mauro Carvalho Chehab
Currently, kernel/module annotates module dependencies when request_symbol is used, but it doesn't cover more complex inter-driver dependencies that are subsystem and/or driver-specific. In the case of hdmi sound, depending on the CPU/GPU, sometimes the snd_hda_driver can talk directly with the ha

[Intel-gfx] [PATCH v3 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-30 Thread Mauro Carvalho Chehab
On some devices, the hda driver needs to hook into a video driver, in order to be able to properly access the audio hardware and/or the power management function. That's the case of several snd_hda_intel devices that depends on i915 driver. Ensure that a proper reference between the snd-hda drive

[Intel-gfx] [PATCH v3 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Mauro Carvalho Chehab
Sometimes, device drivers are bound into each other via try_module_get(), making such references invisible when looking at /proc/modules or lsmod. Add a function to allow setting up module references for such cases, and call it when try_module_get() is used. Reviewed-by: Dan Williams Signed-off-

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Let userspace know when snd-hda-intel needs i915 (rev3)

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 (rev3) URL : https://patchwork.freedesktop.org/series/103315/ State : warning == Summary == Error: dim checkpatch failed 91b18bc0af7a module: update dependencies at try_module_get() -:24: CHECK:AVOID_EXTERNS: extern

[Intel-gfx] ✓ Fi.CI.BAT: success for Let userspace know when snd-hda-intel needs i915 (rev3)

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 (rev3) URL : https://patchwork.freedesktop.org/series/103315/ State : success == Summary == CI Bug Log - changes from CI_DRM_11584 -> Patchwork_103315v3 Summary -

Re: [Intel-gfx] [PATCH v3 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Greg KH
On Sat, Apr 30, 2022 at 02:41:47PM +0100, Mauro Carvalho Chehab wrote: > Sometimes, device drivers are bound into each other via try_module_get(), > making such references invisible when looking at /proc/modules or lsmod. > > Add a function to allow setting up module references for such > cases, a

Re: [Intel-gfx] [PATCH v3 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-30 Thread kernel test robot
patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Mauro-Carvalho-Chehab/Let-userspace-know-when-snd-hda-intel-needs-i915/20220430-214332 base: https://git.kernel.org/pub/scm/linux/

[Intel-gfx] ✗ Fi.CI.IGT: failure for Let userspace know when snd-hda-intel needs i915 (rev3)

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 (rev3) URL : https://patchwork.freedesktop.org/series/103315/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11584_full -> Patchwork_103315v3_full

[Intel-gfx] [PATCH v4 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-30 Thread Mauro Carvalho Chehab
On some devices, the hda driver needs to hook into a video driver, in order to be able to properly access the audio hardware and/or the power management function. That's the case of several snd_hda_intel devices that depends on i915 driver. Ensure that a proper reference between the snd-hda drive

[Intel-gfx] [PATCH v4 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Mauro Carvalho Chehab
Sometimes, device drivers are bound into each other via try_module_get(), making such references invisible when looking at /proc/modules or lsmod. Add a function to allow setting up module references for such cases, and call it when try_module_get() is used. Reviewed-by: Dan Williams Reviewed-by

[Intel-gfx] [PATCH v4 0/2] Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Mauro Carvalho Chehab
Currently, kernel/module annotates module dependencies when request_symbol is used, but it doesn't cover more complex inter-driver dependencies that are subsystem and/or driver-specific. In the case of hdmi sound, depending on the CPU/GPU, sometimes the snd_hda_driver can talk directly with the ha

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 URL : https://patchwork.freedesktop.org/series/103400/ State : warning == Summary == Error: dim checkpatch failed 61a1e180c395 module: update dependencies at try_module_get() -:25: CHECK:AVOID_EXTERNS: extern prototy

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 URL : https://patchwork.freedesktop.org/series/103400/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

[Intel-gfx] ✗ Fi.CI.BAT: failure for Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 URL : https://patchwork.freedesktop.org/series/103400/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11584 -> Patchwork_103400v1 Summary ---

Re: [Intel-gfx] [PATCH v3 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-30 Thread kernel test robot
patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Mauro-Carvalho-Chehab/Let-userspace-know-when-snd-hda-intel-needs-i915/20220430-214332 base: https://git.kernel.org/pub/scm/linux/

[Intel-gfx] [PATCH v5 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-30 Thread Mauro Carvalho Chehab
On some devices, the hda driver needs to hook into a video driver, in order to be able to properly access the audio hardware and/or the power management function. That's the case of several snd_hda_intel devices that depends on i915 driver. Ensure that a proper reference between the snd-hda drive

[Intel-gfx] [PATCH v5 0/2] Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Mauro Carvalho Chehab
Currently, kernel/module annotates module dependencies when request_symbol is used, but it doesn't cover more complex inter-driver dependencies that are subsystem and/or driver-specific. In the case of hdmi sound, depending on the CPU/GPU, sometimes the snd_hda_driver can talk directly with the ha

[Intel-gfx] [PATCH v5 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Mauro Carvalho Chehab
Sometimes, device drivers are bound into each other via try_module_get(), making such references invisible when looking at /proc/modules or lsmod. Add a function to allow setting up module references for such cases, and call it when try_module_get() is used. Reviewed-by: Dan Williams Reviewed-by

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 URL : https://patchwork.freedesktop.org/series/103407/ State : warning == Summary == Error: dim checkpatch failed bafed6632f59 module: update dependencies at try_module_get() -:25: CHECK:AVOID_EXTERNS: extern prototy

[Intel-gfx] ✓ Fi.CI.BAT: success for Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 URL : https://patchwork.freedesktop.org/series/103407/ State : success == Summary == CI Bug Log - changes from CI_DRM_11584 -> Patchwork_103407v1 Summary ---

[Intel-gfx] ✗ Fi.CI.IGT: failure for Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Patchwork
== Series Details == Series: Let userspace know when snd-hda-intel needs i915 URL : https://patchwork.freedesktop.org/series/103407/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11584_full -> Patchwork_103407v1_full Summar