[PULL v2] drm/msm: several fixes for the 5.19 branch

2022-04-30 Thread Dmitry Baryshkov
Hi Rob, Please pull the following few patches into the msm-next(-staging). They are mostly minor fixes for the issues reported by robot, a patch to silence CRC warnings during modeswitch, a change to use initializers in the IRQ regisers array. The following changes since commit

[PULL] drm/msm: several fixes for the 5.19 branch

2022-04-30 Thread Dmitry Baryshkov
Hi Rob, Please pull the following few patches into the msm-next(-staging). They are mostly minor fixes for the issues reported by robot, a patch to silence CRC warnings during modeswitch, a change to use initializers in the IRQ regisers array and a change to MAINTAINERS file. The following

Re: [PATCH] drm/msm: drop old eDP block support (again)

2022-04-30 Thread Abhinav Kumar
On 4/30/2022 10:57 AM, Dmitry Baryshkov wrote: The msm driver has dropped support for older eDP block. However the merge conflict in the commit 4ce2ca4b374a ("drm/msm: Fix include statements for DisplayPort") was resolved incorrectly and two files were left in place. Drop them now (again).

Re: [PATCH 1/3] dt-bindings: display: msm: Add binding for MSM8996 DPU

2022-04-30 Thread Dmitry Baryshkov
On 30/04/2022 22:33, Dmitry Baryshkov wrote: On 30/04/2022 19:15, Konrad Dybcio wrote: Add yaml binding for MSM8996 DPU. Signed-off-by: Konrad Dybcio ---   .../bindings/display/msm/dpu-msm8996.yaml | 221 ++   1 file changed, 221 insertions(+)   create mode 100644

Re: [PATCH 2/3] drm/msm/disp: dpu1: Add MSM8996 support

2022-04-30 Thread Dmitry Baryshkov
On 30/04/2022 19:15, Konrad Dybcio wrote: Add support for MSM8996, which - fun fact - was the SoC that this driver (or rather SDE, its downstream origin) was meant for and first tested on. It has some hardware that differs from the modern SoCs, so not a lot of current structs could have been

[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

[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

[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

Re: [PATCH 1/3] dt-bindings: display: msm: Add binding for MSM8996 DPU

2022-04-30 Thread Dmitry Baryshkov
On 30/04/2022 19:15, Konrad Dybcio wrote: Add yaml binding for MSM8996 DPU. Signed-off-by: Konrad Dybcio --- .../bindings/display/msm/dpu-msm8996.yaml | 221 ++ 1 file changed, 221 insertions(+) create mode 100644

Re: [PATCH v2] drm/msm/dsi: use RMW cycles in dsi_update_dsc_timing

2022-04-30 Thread Dmitry Baryshkov
On 30/04/2022 21:58, Marijn Suijten wrote: On 2022-04-30 20:55:33, Dmitry Baryshkov wrote: The downstream uses read-modify-write for updating command mode compression registers. Let's follow this approach. This also fixes the following warning: drivers/gpu/drm/msm/dsi/dsi_host.c:918:23:

Re: [Freedreno] [PATCH v2] drm/msm/dsi: use RMW cycles in dsi_update_dsc_timing

2022-04-30 Thread Abhinav Kumar
On 4/30/2022 11:58 AM, Marijn Suijten wrote: On 2022-04-30 20:55:33, Dmitry Baryshkov wrote: The downstream uses read-modify-write for updating command mode compression registers. Let's follow this approach. This also fixes the following warning: drivers/gpu/drm/msm/dsi/dsi_host.c:918:23:

Re: [PATCH v2] drm/msm/dsi: use RMW cycles in dsi_update_dsc_timing

2022-04-30 Thread Marijn Suijten
On 2022-04-30 20:55:33, Dmitry Baryshkov wrote: > The downstream uses read-modify-write for updating command mode > compression registers. Let's follow this approach. This also fixes the > following warning: > > drivers/gpu/drm/msm/dsi/dsi_host.c:918:23: warning: variable 'reg_ctrl' set > but

Re: [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/kernel/git

Re: [PATCH v2] drm/msm/dsi: use RMW cycles in dsi_update_dsc_timing

2022-04-30 Thread Abhinav Kumar
On 4/30/2022 10:55 AM, Dmitry Baryshkov wrote: The downstream uses read-modify-write for updating command mode compression registers. Let's follow this approach. This also fixes the following warning: drivers/gpu/drm/msm/dsi/dsi_host.c:918:23: warning: variable 'reg_ctrl' set but not used

Re: [PATCH 3/3] drm/msm/disp: dpu1: Properly sort qcm2290_dpu_caps

2022-04-30 Thread Dmitry Baryshkov
On 30/04/2022 19:15, Konrad Dybcio wrote: Due to MSM8998 support having been stuck in review for so long, another struct was added nearby, which confused git and resulted in the definitions not being sorted alphabetically. Fix it. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov

Re: [PATCH 2/3] drm/msm/disp: dpu1: Add MSM8996 support

2022-04-30 Thread Dmitry Baryshkov
On 30/04/2022 19:15, Konrad Dybcio wrote: Add support for MSM8996, which - fun fact - was the SoC that this driver (or rather SDE, its downstream origin) was meant for and first tested on. It has some hardware that differs from the modern SoCs, so not a lot of current structs could have been

[PATCH v2] drm/msm: add missing include to msm_drv.c

2022-04-30 Thread Dmitry Baryshkov
Add explicit include of drm_bridge.h to the msm_drv.c to fix the following warning: drivers/gpu/drm/msm/msm_drv.c:236:17: error: implicit declaration of function 'drm_bridge_remove'; did you mean 'drm_bridge_detach'? [-Werror=implicit-function-declaration] Fixes: d28ea556267c ("drm/msm:

Re: [PATCH] drm/msm: add missing include to msm_drv.c

2022-04-30 Thread Dmitry Baryshkov
rg/0day-ci/archive/20220430/202204301804.hjxoqfse-...@intel.com/config Reported-by: kernel test robot Signed-off-by: Dmitry Baryshkov ---   drivers/gpu/drm/msm/msm_drv.c | 1 +   1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_dr

[PATCH] drm/msm: drop old eDP block support (again)

2022-04-30 Thread Dmitry Baryshkov
The msm driver has dropped support for older eDP block. However the merge conflict in the commit 4ce2ca4b374a ("drm/msm: Fix include statements for DisplayPort") was resolved incorrectly and two files were left in place. Drop them now (again). Fixes: 4ce2ca4b374a ("drm/msm: Fix include statements

[PATCH v2] drm/msm/dsi: use RMW cycles in dsi_update_dsc_timing

2022-04-30 Thread Dmitry Baryshkov
The downstream uses read-modify-write for updating command mode compression registers. Let's follow this approach. This also fixes the following warning: drivers/gpu/drm/msm/dsi/dsi_host.c:918:23: warning: variable 'reg_ctrl' set but not used [-Wunused-but-set-variable] Reported-by: kernel test

Re: [PATCH] drm/msm/dsi: use RMW cycles in dsi_update_dsc_timing

2022-04-30 Thread Dmitry Baryshkov
On 30/04/2022 18:16, Abhinav Kumar wrote: On 4/30/2022 1:11 AM, Dmitry Baryshkov wrote: The downstream uses read-modify-write for updating command mode compression registers. Let's follow this approach. This also fixes the following warning: drivers/gpu/drm/msm/dsi/dsi_host.c:918:23:

[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

[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

[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

[pull] drm/msm: drm-msm-fixes-2022-04-30

2022-04-30 Thread Rob Clark
Hi Dave & Daniel, One last fix for v5.18, to fix a lockdep issue. Sorry, I meant to send this a couple days ago but forgot. The following changes since commit 0371870b96907bf560ecf7dc3fadc238fadf7845: drm/msm: Revert "drm/msm: Stop using iommu_present()" (2022-04-19 10:33:07 -0700) are

Re: [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/kernel/git

[PATCH 3/3] drm/msm/disp: dpu1: Properly sort qcm2290_dpu_caps

2022-04-30 Thread Konrad Dybcio
Due to MSM8998 support having been stuck in review for so long, another struct was added nearby, which confused git and resulted in the definitions not being sorted alphabetically. Fix it. Signed-off-by: Konrad Dybcio --- .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 22 +-- 1

[PATCH 2/3] drm/msm/disp: dpu1: Add MSM8996 support

2022-04-30 Thread Konrad Dybcio
Add support for MSM8996, which - fun fact - was the SoC that this driver (or rather SDE, its downstream origin) was meant for and first tested on. It has some hardware that differs from the modern SoCs, so not a lot of current structs could have been reused. It's also seemingly the only SoC

[PATCH 1/3] dt-bindings: display: msm: Add binding for MSM8996 DPU

2022-04-30 Thread Konrad Dybcio
Add yaml binding for MSM8996 DPU. Signed-off-by: Konrad Dybcio --- .../bindings/display/msm/dpu-msm8996.yaml | 221 ++ 1 file changed, 221 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/msm/dpu-msm8996.yaml diff --git

Re: [PATCH] drm/msm/dsi: use RMW cycles in dsi_update_dsc_timing

2022-04-30 Thread Abhinav Kumar
On 4/30/2022 1:11 AM, Dmitry Baryshkov wrote: The downstream uses read-modify-write for updating command mode compression registers. Let's follow this approach. This also fixes the following warning: drivers/gpu/drm/msm/dsi/dsi_host.c:918:23: warning: variable 'reg_ctrl' set but not used

Re: [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,

Re: [PATCH] drm/msm: add missing include to msm_drv.c

2022-04-30 Thread Abhinav Kumar
Change seems fine, with a couple of minor things below. Reviewed-by: Abhinav Kumar On 4/30/2022 3:48 AM, Dmitry Baryshkov wrote: Add explicit include of drm_bridge.h to the msm_drm.c to fix the this should be msm_drv.c following warning: drivers/gpu/drm/msm/msm_drv.c:236:17: error:

Re: [PATCH v2 00/48] ARM: PXA multiplatform support

2022-04-30 Thread Arnd Bergmann
On Sat, Apr 30, 2022 at 3:32 PM Arnd Bergmann wrote: > > On Sat, Apr 30, 2022 at 2:41 PM Guenter Roeck wrote: > > On 4/30/22 01:04, Arnd Bergmann wrote: > > > and concluded that it must have done this for a long time. In my own qemu > > > instance, I see a crash from iWMMXt, but that works fine

[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

[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

[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

Re: [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

Re: [PATCH] drm/msm/dpu: Clean up CRC debug logs

2022-04-30 Thread Dmitry Baryshkov
On 30/04/2022 03:41, Abhinav Kumar wrote: Hi Jessica Please add reported by for dmitry and suggested-by for Rob. You (or Jessica) could have replied with these tags in the body of the message. Patchwork would have picked them up. Thanks Abhinav On 4/29/2022 5:39 PM, Jessica Zhang

Re: [PATCH v2] drm/msm/dpu: Clean up CRC debug logs

2022-04-30 Thread Dmitry Baryshkov
On 30/04/2022 03:52, Jessica Zhang wrote: Currently, dpu_hw_lm_collect_misr returns EINVAL if CRC is disabled. This causes a lot of spam in the DRM debug logs as it's called for every vblank. Instead of returning EINVAL when CRC is disabled in dpu_hw_lm_collect_misr, let's return ENODATA and

Re: [PATCH v2 00/48] ARM: PXA multiplatform support

2022-04-30 Thread Arnd Bergmann
On Sat, Apr 30, 2022 at 2:41 PM Guenter Roeck wrote: > On 4/30/22 01:04, Arnd Bergmann wrote: > > and concluded that it must have done this for a long time. In my own qemu > > instance, I see a crash from iWMMXt, but that works fine on your machine. > > OTOH, your failed instances all look like

Re: [PATCH v2 00/48] ARM: PXA multiplatform support

2022-04-30 Thread Guenter Roeck
On 4/30/22 01:04, Arnd Bergmann wrote: On Sat, Apr 30, 2022 at 1:09 AM Guenter Roeck wrote: On 4/29/22 14:46, Arnd Bergmann wrote: On Fri, Apr 29, 2022 at 10:23 PM Guenter Roeck wrote: On 4/29/22 10:48, Guenter Roeck wrote: I tried the pxa-multiplatform-5.18 branch. Its failures match

Re: [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,

[PATCH] drm/msm: add missing include to msm_drv.c

2022-04-30 Thread Dmitry Baryshkov
Add explicit include of drm_bridge.h to the msm_drm.c to fix the following warning: drivers/gpu/drm/msm/msm_drv.c:236:17: error: implicit declaration of function 'drm_bridge_remove'; did you mean 'drm_bridge_detach'? [-Werror=implicit-function-declaration] Fixes: d28ea556267c ("drm/msm:

[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

[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

[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

Re: [PATCH] drm/nouveau/subdev/bus: Ratelimit logging for fault errors

2022-04-30 Thread Karol Herbst
On Sat, Apr 30, 2022 at 1:04 AM Lyude Paul wrote: > > On Sat, 2022-04-30 at 00:56 +0200, Karol Herbst wrote: > > On Fri, Apr 29, 2022 at 9:54 PM Lyude Paul wrote: > > > > > > There's plenty of ways to fudge the GPU when developing on nouveau by > > > mistake, some of which can result in nouveau

[PATCH] drm/msm/dsi: use RMW cycles in dsi_update_dsc_timing

2022-04-30 Thread Dmitry Baryshkov
The downstream uses read-modify-write for updating command mode compression registers. Let's follow this approach. This also fixes the following warning: drivers/gpu/drm/msm/dsi/dsi_host.c:918:23: warning: variable 'reg_ctrl' set but not used [-Wunused-but-set-variable] Reported-by: kernel test

Re: [PATCH v2 00/48] ARM: PXA multiplatform support

2022-04-30 Thread Arnd Bergmann
On Sat, Apr 30, 2022 at 1:09 AM Guenter Roeck wrote: > On 4/29/22 14:46, Arnd Bergmann wrote: > > On Fri, Apr 29, 2022 at 10:23 PM Guenter Roeck wrote: > >> On 4/29/22 10:48, Guenter Roeck wrote: > >>> > >>> I tried the pxa-multiplatform-5.18 branch. Its failures match > >>> those in v5.18-rc1.