RE: [PATCH v3 13/16] drm/i915/hdcp: Pass connector to check_2_2_link

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH v3

RE: [PATCH v3 12/16] drm/i915/hdcp: MST streams support in hdcp port_data

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH v3

Re: [PATCH] matroxfb: avoid -Warray-bounds warning

2020-10-26 Thread Thomas Zimmermann
Hi Am 26.10.20 um 20:39 schrieb Arnd Bergmann: > From: Arnd Bergmann > > The open-coded list_for_each_entry() causes a harmless warning: > > drivers/video/fbdev/matrox/matroxfb_base.c: In function > 'matroxfb_register_driver': > include/linux/kernel.h:856:3: warning: array subscript -98 is out

RE: [PATCH v3 11/16] drm/hdcp: Max MST content streams

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > ; Maarten Lankhorst >

RE: [PATCH v3 10/16] misc/mei/hdcp: Fix AUTH_STREAM_REQ cmd buffer len

2020-10-26 Thread Winkler, Tomas
> > > > > -Original Message- > > From: Anshuman Gupta > > Sent: Friday, October 23, 2020 5:51 PM > > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > > Cc: seanp...@chromium.org; Nikula, Jani ; C, > > Ramalingam ; Li, Juston ; > > Shankar, Uma ; Gupta, Anshuman > >

RE: [PATCH v3 10/16] misc/mei/hdcp: Fix AUTH_STREAM_REQ cmd buffer len

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > ; Winkler, Tomas > S

RE: [PATCH v3 09/16] drm/i915/hdcp: Encapsulate hdcp_port_data to dig_port

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH v3

RE: [PATCH v3 08/16] drm/i915/hdcp: Pass dig_port to intel_hdcp_init

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH v3

RE: [PATCH v3 07/16] drm/i915/hdcp: Enable Gen12 HDCP 1.4 DP MST support

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH v3

Re: [PATCH 1/1] video: fbdev: fix divide error in fbcon_switch

2020-10-26 Thread Greg KH
On Mon, Oct 26, 2020 at 10:00:11AM -0700, Saeed Mirzamohammadi wrote: > Thanks, adding stable. Why? What are we supposed to do with this? ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

RE: [PATCH v3 06/16] drm/i915/hdcp: HDCP stream encryption support

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH v3

RE: [PATCH v3 05/16] drm/i915/hdcp: Move HDCP enc status timeout to header

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH v3

Re: [PATCH v3 02/16] drm/i915/hdcp: Get conn while content_type changed

2020-10-26 Thread Anshuman Gupta
On 2020-10-27 at 11:04:17 +0530, Shankar, Uma wrote: > > > > -Original Message- > > From: Anshuman Gupta > > Sent: Friday, October 23, 2020 5:51 PM > > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > > Cc: seanp...@chromium.org; Nikula, Jani ; C, > > Ramalingam ; L

RE: [PATCH v3 04/16] drm/i915/hdcp: DP MST transcoder for link and stream

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH v3

RE: [PATCH v3 03/16] drm/i915/hotplug: Handle CP_IRQ for DP-MST

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > ; Ville Syrjälä > Sub

RE: [PATCH v3 02/16] drm/i915/hdcp: Get conn while content_type changed

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH v3

RE: [PATCH v3 01/16] drm/i915/hdcp: Update CP property in update_pipe

2020-10-26 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Friday, October 23, 2020 5:51 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH v3

[PATCH 0/1] drm/vc4: drv: Add error handding for bind

2020-10-26 Thread Hoegeun Kwon
Hello all, There is a problem that if vc4_drm bind fails, a memory leak occurs on the drm_property_create side as shown below. Add error handding for drm_mode_config. unreferenced object 0xff80f5a7a6c8 (size 576): comm "swapper/0", pid 1, jiffies 4294892559 (age 181.448s) hex dump (first

[PATCH 1/1] drm/vc4: drv: Add error handding for bind

2020-10-26 Thread Hoegeun Kwon
There is a problem that if vc4_drm bind fails, a memory leak occurs on the drm_property_create side. Add error handding for drm_mode_config. Signed-off-by: Hoegeun Kwon --- drivers/gpu/drm/vc4/vc4_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/g

[radeon-alex:amd-staging-drm-next 263/272] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_ddc.c:285:2: warning: this 'if' clause does not guard...

2020-10-26 Thread kernel test robot
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next head: 3458ef3969082647e64825452b8bfd06ee7c3351 commit: 254a8d162af6360334e20ee6601c0b38f31dfa2d [263/272] drm/amd/display: Using udelay for specific dongle while edid return defer config: alpha-allyesconfig (attached as .

linux-next: manual merge of the drm-misc tree with Linus' tree

2020-10-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/virtio/virtgpu_vq.c between commit: 75ef337bdba4 ("drm: virtio: fix common struct sg_table related issues") from Linus' tree and commit: 50c3d1938ee3 ("drm/virtio: implement blob resources: fix stri

linux-next: manual merge of the drm-misc tree with Linus' tree

2020-10-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c between commit: e12e5263bf1d ("drm/msm/dpu: clean up some impossibilities") from Linus' tree and commit: 351f950db4ab ("drm/atomic: Pass the full state to CRTC atomic enable

linux-next: manual merge of the drm-misc tree with Linus' tree

2020-10-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: include/drm/drm_dp_helper.h between commit: a77ed90da6bb ("drm/dp: Define protocol converter DPCD registers") from Linus' tree and commit: 6e5702980b14 ("drm/dp: add subheadings to DPCD address definitions") from

linux-next: manual merge of the amdgpu tree with Linus' tree

2020-10-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the amdgpu tree got a conflict in: drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c between commits: 0fe438cec9e1 ("drm/ttm: remove default caching") 9c3006a4cc1b ("drm/ttm: remove available_caching") from Linus' tree and commit: d836917da7e5 ("drm/amdgpu: F

[PATCH AUTOSEL 4.4 06/25] video: fbdev: pvr2fb: initialize variables

2020-10-26 Thread Sasha Levin
From: Tom Rix [ Upstream commit 8e1ba47c60bcd325fdd097cd76054639155e5d2e ] clang static analysis reports this repesentative error pvr2fb.c:1049:2: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] if (*cable_arg) ^~~ Problem is th

[PATCH AUTOSEL 4.9 08/30] video: fbdev: pvr2fb: initialize variables

2020-10-26 Thread Sasha Levin
From: Tom Rix [ Upstream commit 8e1ba47c60bcd325fdd097cd76054639155e5d2e ] clang static analysis reports this repesentative error pvr2fb.c:1049:2: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] if (*cable_arg) ^~~ Problem is th

[PATCH AUTOSEL 4.14 10/46] video: fbdev: pvr2fb: initialize variables

2020-10-26 Thread Sasha Levin
From: Tom Rix [ Upstream commit 8e1ba47c60bcd325fdd097cd76054639155e5d2e ] clang static analysis reports this repesentative error pvr2fb.c:1049:2: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] if (*cable_arg) ^~~ Problem is th

[PATCH AUTOSEL 4.14 19/46] drm/bridge/synopsys: dsi: add support for non-continuous HS clock

2020-10-26 Thread Sasha Levin
From: Antonio Borneo [ Upstream commit c6d94e37bdbb6dfe7e581e937a915ab58399b8a5 ] Current code enables the HS clock when video mode is started or to send out a HS command, and disables the HS clock to send out a LP command. This is not what DSI spec specify. Enable HS clock either in command an

[PATCH AUTOSEL 4.14 13/46] drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly

2020-10-26 Thread Sasha Levin
From: Nadezda Lutovinova [ Upstream commit f688a345f0d7a6df4dd2aeca8e4f3c05e123a0ee ] If ge_b850v3_lvds_init() does not allocate memory for ge_b850v3_lvds_ptr, then a null pointer dereference is accessed. The patch adds checking of the return value of ge_b850v3_lvds_init(). Found by Linux Driv

[PATCH AUTOSEL 4.19 41/60] drm/amd/display: HDMI remote sink need mode validation for Linux

2020-10-26 Thread Sasha Levin
From: Fangzhi Zuo [ Upstream commit 95d620adb48f7728e67d82f56f756e8d451cf8d2 ] [Why] Currently mode validation is bypassed if remote sink exists. That leads to mode set issue when a BW bottle neck exists in the link path, e.g., a DP-to-HDMI converter that only supports HDMI 1.4. Any invalid mod

[PATCH AUTOSEL 4.19 22/60] drm/bridge/synopsys: dsi: add support for non-continuous HS clock

2020-10-26 Thread Sasha Levin
From: Antonio Borneo [ Upstream commit c6d94e37bdbb6dfe7e581e937a915ab58399b8a5 ] Current code enables the HS clock when video mode is started or to send out a HS command, and disables the HS clock to send out a LP command. This is not what DSI spec specify. Enable HS clock either in command an

[PATCH AUTOSEL 4.19 15/60] drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly

2020-10-26 Thread Sasha Levin
From: Nadezda Lutovinova [ Upstream commit f688a345f0d7a6df4dd2aeca8e4f3c05e123a0ee ] If ge_b850v3_lvds_init() does not allocate memory for ge_b850v3_lvds_ptr, then a null pointer dereference is accessed. The patch adds checking of the return value of ge_b850v3_lvds_init(). Found by Linux Driv

[PATCH AUTOSEL 4.19 12/60] video: fbdev: pvr2fb: initialize variables

2020-10-26 Thread Sasha Levin
From: Tom Rix [ Upstream commit 8e1ba47c60bcd325fdd097cd76054639155e5d2e ] clang static analysis reports this repesentative error pvr2fb.c:1049:2: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] if (*cable_arg) ^~~ Problem is th

[PATCH AUTOSEL 5.4 54/80] drm/amd/display: HDMI remote sink need mode validation for Linux

2020-10-26 Thread Sasha Levin
From: Fangzhi Zuo [ Upstream commit 95d620adb48f7728e67d82f56f756e8d451cf8d2 ] [Why] Currently mode validation is bypassed if remote sink exists. That leads to mode set issue when a BW bottle neck exists in the link path, e.g., a DP-to-HDMI converter that only supports HDMI 1.4. Any invalid mod

[PATCH AUTOSEL 5.4 19/80] drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly

2020-10-26 Thread Sasha Levin
From: Nadezda Lutovinova [ Upstream commit f688a345f0d7a6df4dd2aeca8e4f3c05e123a0ee ] If ge_b850v3_lvds_init() does not allocate memory for ge_b850v3_lvds_ptr, then a null pointer dereference is accessed. The patch adds checking of the return value of ge_b850v3_lvds_init(). Found by Linux Driv

[PATCH AUTOSEL 5.4 27/80] drm/bridge/synopsys: dsi: add support for non-continuous HS clock

2020-10-26 Thread Sasha Levin
From: Antonio Borneo [ Upstream commit c6d94e37bdbb6dfe7e581e937a915ab58399b8a5 ] Current code enables the HS clock when video mode is started or to send out a HS command, and disables the HS clock to send out a LP command. This is not what DSI spec specify. Enable HS clock either in command an

[PATCH AUTOSEL 5.4 16/80] video: fbdev: pvr2fb: initialize variables

2020-10-26 Thread Sasha Levin
From: Tom Rix [ Upstream commit 8e1ba47c60bcd325fdd097cd76054639155e5d2e ] clang static analysis reports this repesentative error pvr2fb.c:1049:2: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] if (*cable_arg) ^~~ Problem is th

[PATCH AUTOSEL 5.8 093/132] drm/amd/display: Avoid set zero in the requested clk

2020-10-26 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 2f8be0e516803cc3fd87c1671247896571a5a8fb ] [Why] Sometimes CRTCs can be disabled due to display unplugging or temporarily transition in the userspace; in these circumstances, DCE tries to set the minimum clock threshold. When we have this situation, the f

[PATCH AUTOSEL 5.8 092/132] drm/amd/display: HDMI remote sink need mode validation for Linux

2020-10-26 Thread Sasha Levin
From: Fangzhi Zuo [ Upstream commit 95d620adb48f7728e67d82f56f756e8d451cf8d2 ] [Why] Currently mode validation is bypassed if remote sink exists. That leads to mode set issue when a BW bottle neck exists in the link path, e.g., a DP-to-HDMI converter that only supports HDMI 1.4. Any invalid mod

[PATCH AUTOSEL 5.8 062/132] drm/amd/display: Check clock table return

2020-10-26 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 4b4f21ff7f5d11bb77e169b306dcbc5b216f5db5 ] During the load processes for Renoir, our display code needs to retrieve the SMU clock and voltage table, however, this operation can fail which means that we have to check this scenario. Currently, we are not ha

[PATCH AUTOSEL 5.8 046/132] drm/bridge/synopsys: dsi: add support for non-continuous HS clock

2020-10-26 Thread Sasha Levin
From: Antonio Borneo [ Upstream commit c6d94e37bdbb6dfe7e581e937a915ab58399b8a5 ] Current code enables the HS clock when video mode is started or to send out a HS command, and disables the HS clock to send out a LP command. This is not what DSI spec specify. Enable HS clock either in command an

[PATCH AUTOSEL 5.8 037/132] drm/bridge_connector: Set default status connected for eDP connectors

2020-10-26 Thread Sasha Levin
From: Enric Balletbo i Serra [ Upstream commit c5589b39549d1875bb506da473bf4580c959db8c ] In an eDP application, HPD is not required and on most bridge chips useless. If HPD is not used, we need to set initial status as connected, otherwise the connector created by the drm_bridge_connector API r

[PATCH AUTOSEL 5.8 043/132] drm/vkms: avoid warning in vkms_get_vblank_timestamp

2020-10-26 Thread Sasha Levin
From: Sidong Yang [ Upstream commit 05ca530268a9d0ab3547e7b288635e35990a77c4 ] This patch avoid the warning in vkms_get_vblank_timestamp when vblanks aren't enabled. When running igt test kms_cursor_crc just after vkms module, the warning raised like below. Initial value of vblank time is zero a

[PATCH AUTOSEL 5.8 068/132] drm/amdgpu: No sysfs, not an error condition

2020-10-26 Thread Sasha Levin
From: Luben Tuikov [ Upstream commit 5aea5327ea2ddf544cbeff096f45fc2319b0714e ] Not being able to create amdgpu sysfs attributes is not a fatal error warranting not to continue to try to bring up the display. Thus, if we get an error trying to create amdgpu sysfs attrs, report it and continue on

[PATCH AUTOSEL 5.8 034/132] drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly

2020-10-26 Thread Sasha Levin
From: Nadezda Lutovinova [ Upstream commit f688a345f0d7a6df4dd2aeca8e4f3c05e123a0ee ] If ge_b850v3_lvds_init() does not allocate memory for ge_b850v3_lvds_ptr, then a null pointer dereference is accessed. The patch adds checking of the return value of ge_b850v3_lvds_init(). Found by Linux Driv

[PATCH AUTOSEL 5.8 055/132] drm: lima: fix common struct sg_table related issues

2020-10-26 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit c3d9c17f486d5c54940487dc31a54ebfdeeb371a ] The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() function returns the number of the created entries in the DMA address space. However the subsequent calls to the dma_sync_sg_for_{device,cpu}() and

[PATCH AUTOSEL 5.8 056/132] drm: panfrost: fix common struct sg_table related issues

2020-10-26 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 34a4e66faf8b22c8409cbd46839ba5e488b1e6a9 ] The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() function returns the number of the created entries in the DMA address space. However the subsequent calls to the dma_sync_sg_for_{device,cpu}() and

[PATCH AUTOSEL 5.8 053/132] drm: exynos: fix common struct sg_table related issues

2020-10-26 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 84404614167b829f7b58189cd24b6c0c74897171 ] The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() function returns the number of the created entries in the DMA address space. However the subsequent calls to the dma_sync_sg_for_{device,cpu}() and

[PATCH AUTOSEL 5.8 033/132] drm/scheduler: Scheduler priority fixes (v2)

2020-10-26 Thread Sasha Levin
From: Luben Tuikov [ Upstream commit e2d732fdb7a9e421720a644580cd6a9400f97f60 ] Remove DRM_SCHED_PRIORITY_LOW, as it was used in only one place. Rename and separate by a line DRM_SCHED_PRIORITY_MAX to DRM_SCHED_PRIORITY_COUNT as it represents a (total) count of said priorities and it is used as

[PATCH AUTOSEL 5.8 029/132] drm/amdgpu: restore ras flags when user resets eeprom(v2)

2020-10-26 Thread Sasha Levin
From: Guchun Chen [ Upstream commit bf0b91b78f002faa1be1902a75eeb0797f9fbcf3 ] RAS flags needs to be cleaned as well when user requires one clean eeprom. v2: RAS flags shall be restored after eeprom reset succeeds. Signed-off-by: Guchun Chen Reviewed-by: Hawking Zhang Signed-off-by: Alex Deu

[PATCH AUTOSEL 5.8 030/132] video: fbdev: pvr2fb: initialize variables

2020-10-26 Thread Sasha Levin
From: Tom Rix [ Upstream commit 8e1ba47c60bcd325fdd097cd76054639155e5d2e ] clang static analysis reports this repesentative error pvr2fb.c:1049:2: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] if (*cable_arg) ^~~ Problem is th

[PATCH AUTOSEL 5.9 101/147] drm/amd/display: Avoid set zero in the requested clk

2020-10-26 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 2f8be0e516803cc3fd87c1671247896571a5a8fb ] [Why] Sometimes CRTCs can be disabled due to display unplugging or temporarily transition in the userspace; in these circumstances, DCE tries to set the minimum clock threshold. When we have this situation, the f

[PATCH AUTOSEL 5.9 100/147] drm/amd/display: HDMI remote sink need mode validation for Linux

2020-10-26 Thread Sasha Levin
From: Fangzhi Zuo [ Upstream commit 95d620adb48f7728e67d82f56f756e8d451cf8d2 ] [Why] Currently mode validation is bypassed if remote sink exists. That leads to mode set issue when a BW bottle neck exists in the link path, e.g., a DP-to-HDMI converter that only supports HDMI 1.4. Any invalid mod

[PATCH AUTOSEL 5.9 064/147] drm: panfrost: fix common struct sg_table related issues

2020-10-26 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 34a4e66faf8b22c8409cbd46839ba5e488b1e6a9 ] The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() function returns the number of the created entries in the DMA address space. However the subsequent calls to the dma_sync_sg_for_{device,cpu}() and

[PATCH AUTOSEL 5.9 070/147] drm/amd/display: Check clock table return

2020-10-26 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 4b4f21ff7f5d11bb77e169b306dcbc5b216f5db5 ] During the load processes for Renoir, our display code needs to retrieve the SMU clock and voltage table, however, this operation can fail which means that we have to check this scenario. Currently, we are not ha

[PATCH AUTOSEL 5.9 038/147] drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly

2020-10-26 Thread Sasha Levin
From: Nadezda Lutovinova [ Upstream commit f688a345f0d7a6df4dd2aeca8e4f3c05e123a0ee ] If ge_b850v3_lvds_init() does not allocate memory for ge_b850v3_lvds_ptr, then a null pointer dereference is accessed. The patch adds checking of the return value of ge_b850v3_lvds_init(). Found by Linux Driv

[PATCH AUTOSEL 5.9 041/147] drm/bridge_connector: Set default status connected for eDP connectors

2020-10-26 Thread Sasha Levin
From: Enric Balletbo i Serra [ Upstream commit c5589b39549d1875bb506da473bf4580c959db8c ] In an eDP application, HPD is not required and on most bridge chips useless. If HPD is not used, we need to set initial status as connected, otherwise the connector created by the drm_bridge_connector API r

[PATCH AUTOSEL 5.9 061/147] drm: exynos: fix common struct sg_table related issues

2020-10-26 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 84404614167b829f7b58189cd24b6c0c74897171 ] The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() function returns the number of the created entries in the DMA address space. However the subsequent calls to the dma_sync_sg_for_{device,cpu}() and

[PATCH AUTOSEL 5.9 076/147] drm/amdgpu: No sysfs, not an error condition

2020-10-26 Thread Sasha Levin
From: Luben Tuikov [ Upstream commit 5aea5327ea2ddf544cbeff096f45fc2319b0714e ] Not being able to create amdgpu sysfs attributes is not a fatal error warranting not to continue to try to bring up the display. Thus, if we get an error trying to create amdgpu sysfs attrs, report it and continue on

[PATCH AUTOSEL 5.9 063/147] drm: lima: fix common struct sg_table related issues

2020-10-26 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit c3d9c17f486d5c54940487dc31a54ebfdeeb371a ] The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() function returns the number of the created entries in the DMA address space. However the subsequent calls to the dma_sync_sg_for_{device,cpu}() and

[PATCH AUTOSEL 5.9 034/147] video: fbdev: pvr2fb: initialize variables

2020-10-26 Thread Sasha Levin
From: Tom Rix [ Upstream commit 8e1ba47c60bcd325fdd097cd76054639155e5d2e ] clang static analysis reports this repesentative error pvr2fb.c:1049:2: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] if (*cable_arg) ^~~ Problem is th

[PATCH AUTOSEL 5.9 049/147] drm/vkms: avoid warning in vkms_get_vblank_timestamp

2020-10-26 Thread Sasha Levin
From: Sidong Yang [ Upstream commit 05ca530268a9d0ab3547e7b288635e35990a77c4 ] This patch avoid the warning in vkms_get_vblank_timestamp when vblanks aren't enabled. When running igt test kms_cursor_crc just after vkms module, the warning raised like below. Initial value of vblank time is zero a

[PATCH AUTOSEL 5.9 033/147] drm/amdgpu: restore ras flags when user resets eeprom(v2)

2020-10-26 Thread Sasha Levin
From: Guchun Chen [ Upstream commit bf0b91b78f002faa1be1902a75eeb0797f9fbcf3 ] RAS flags needs to be cleaned as well when user requires one clean eeprom. v2: RAS flags shall be restored after eeprom reset succeeds. Signed-off-by: Guchun Chen Reviewed-by: Hawking Zhang Signed-off-by: Alex Deu

[PATCH AUTOSEL 5.9 052/147] drm/bridge/synopsys: dsi: add support for non-continuous HS clock

2020-10-26 Thread Sasha Levin
From: Antonio Borneo [ Upstream commit c6d94e37bdbb6dfe7e581e937a915ab58399b8a5 ] Current code enables the HS clock when video mode is started or to send out a HS command, and disables the HS clock to send out a LP command. This is not what DSI spec specify. Enable HS clock either in command an

[PATCH AUTOSEL 5.9 037/147] drm/scheduler: Scheduler priority fixes (v2)

2020-10-26 Thread Sasha Levin
From: Luben Tuikov [ Upstream commit e2d732fdb7a9e421720a644580cd6a9400f97f60 ] Remove DRM_SCHED_PRIORITY_LOW, as it was used in only one place. Rename and separate by a line DRM_SCHED_PRIORITY_MAX to DRM_SCHED_PRIORITY_COUNT as it represents a (total) count of said priorities and it is used as

[PATCH AUTOSEL 5.9 032/147] drm/ast: Separate DRM driver from PCI code

2020-10-26 Thread Sasha Levin
From: Thomas Zimmermann [ Upstream commit d50ace1e72f05708cc5dbc89b9bbb9873f150092 ] Putting the DRM driver to the top of the file and the PCI code to the bottom makes ast_drv.c more readable. While at it, the patch prefixes file-scope variables with ast_. Signed-off-by: Thomas Zimmermann Acke

[radeon-alex:amd-staging-drm-next 228/272] drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c:130:6: warning: no previous prototype for function 'amdgpu_fw_attestation_debugfs_init'

2020-10-26 Thread kernel test robot
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next head: 3458ef3969082647e64825452b8bfd06ee7c3351 commit: f439de91652a689740663abdcb72f7f015f7 [228/272] drm/amdgpu: added support for psp fw attestation config: x86_64-randconfig-a004-20201026 (attached as .config

Re: [PATCH v4 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-10-26 Thread Tomasz Figa
Hi Daniel, On Mon, Oct 26, 2020 at 11:58:08AM +0100, Daniel Vetter wrote: > This is used by media/videbuf2 for persistent dma mappings, not just > for a single dma operation and then freed again, so needs > FOLL_LONGTERM. > > Unfortunately current pup_locked doesn't support FOLL_LONGTERM due to >

Re: [PATCH v4 06/15] media: videobuf2: Move frame_vector into media subsystem

2020-10-26 Thread Tomasz Figa
On Mon, Oct 26, 2020 at 11:58:09AM +0100, Daniel Vetter wrote: > It's the only user. This also garbage collects the CONFIG_FRAME_VECTOR > symbol from all over the tree (well just one place, somehow omap media > driver still had this in its Kconfig, despite not using it). > > Reviewed-by: John Hubb

[PATCH] drm: bridge: cdns: Kconfig: Switch over dependency to ARCH_K3

2020-10-26 Thread Nishanth Menon
With the integration of chip-id detection scheme in kernel[1], there is no specific need to maintain multitudes of SoC specific config options, discussed as per [2], we have deprecated the usage in other places for v5.10-rc1. Fix the missing user so that we can clean up the configs in v5.11. [1] d

Re: [PATCH v4 09/15] media/videbuf1|2: Mark follow_pfn usage as unsafe

2020-10-26 Thread Tomasz Figa
Hi Daniel, On Mon, Oct 26, 2020 at 11:58:12AM +0100, Daniel Vetter wrote: > The media model assumes that buffers are all preallocated, so that > when a media pipeline is running we never miss a deadline because the > buffers aren't allocated or available. > > This means we cannot fix the v4l foll

[radeon-alex:drm-next 447/497] drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c:130:6: warning: no previous prototype for 'amdgpu_fw_attestation_debugfs_init'

2020-10-26 Thread kernel test robot
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next head: 86568bafbfb37491e688201eccdc60660e8a6fdf commit: 19ae333001b375bbc7d1ff9eaa9cbb0a72fff65e [447/497] drm/amdgpu: added support for psp fw attestation config: alpha-allyesconfig (attached as .config) compiler: alpha-linux-gcc (GC

[PATCH 5/5] drm/amdgpu: disable -Woverride-init warning

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann Building with 'make W=1' produces countless warnings like amdgpu/../include/vega10_ip_offset.h:276:51: warning: initialized field overwritten [-Woverride-init] Shut these up by disabling the particular warning in the amdgpu driver. Signed-off-by: Arnd Bergmann --- driver

[PATCH 1/5] drm/amdgpu: fix enum mismatches

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann gcc -Wextra warns about an incorrect prototype causing multiple mismatched enums: display/dc/gpio/gpio_service.c: In function 'dal_gpio_service_create': display/dc/gpio/gpio_service.c:70:50: warning: implicit conversion from 'enum dce_environment' to 'enum dce_version' [-Wen

[PATCH 4/5] drm/amdgpu: fix build_coefficients() argument

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann gcc -Wextra warns about a function taking an enum argument being called with a bool: drivers/gpu/drm/amd/amdgpu/../display/modules/color/color_gamma.c: In function 'apply_degamma_for_user_regamma': drivers/gpu/drm/amd/amdgpu/../display/modules/color/color_gamma.c:1617:29: w

[PATCH 3/5] drm/amdgpu: fix enum odm_combine_mode mismatch

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann A conversion from 'bool' to 'enum odm_combine_mode' was incomplete, and gcc warns about this with many instances of display/dc/dml/dcn20/display_mode_vba_20.c:3899:44: warning: implicit conversion from 'enum ' to 'enum odm_combine_mode' [-Wenum-conversion] 3899 | locals

[PATCH 2/5] drm/amdgpu: fix incorrect enum type

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann core_link_write_dpcd() returns enum dc_status, not ddc_result: display/dc/core/dc_link_dp.c: In function 'dp_set_panel_mode': display/dc/core/dc_link_dp.c:4237:11: warning: implicit conversion from 'enum dc_status' to 'enum ddc_result' [-Wenum-conversion] Avoid the warning

Re: [Freedreno] [PATCH 3/4] drm/msm: fix -Woverride-init warning

2020-10-26 Thread abhinavk
On 2020-10-26 12:41, Arnd Bergmann wrote: From: Arnd Bergmann There is one harmless duplicate initialization that causes a warning with 'make W=1': drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:122:19: warning: initialized field overwritten [-Woverride-init] 122 | .max_linewidth = 4096,

Re: [PATCH 0/3] drm/amd/display: Fix kernel panic by breakpoint

2020-10-26 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Oct 26, 2020 at 4:22 PM Kazlauskas, Nicholas wrote: > > Reviewed-by: Nicholas Kazlauskas > > Looks fine to me. Feel free to apply. > > Regards, > Nicholas Kazlauskas > > On 2020-10-26 3:34 p.m., Alex Deucher wrote: > > Yes, looks good to me as well. Series is: >

Re: [Outreachy][PATCH] drm/amdgpu: use true and false for bool initialisations

2020-10-26 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Oct 26, 2020 at 2:14 PM Sumera Priyadarsini wrote: > > Bool initialisation should use 'true' and 'false' values instead of 0 > and 1. > > Modify amdgpu_amdkfd_gpuvm.c to initialise variable is_imported > to false instead of 0. > > Issue found with Coccinelle. > > S

Re: [PATCH 0/3] drm/amd/display: Fix kernel panic by breakpoint

2020-10-26 Thread Kazlauskas, Nicholas
Reviewed-by: Nicholas Kazlauskas Looks fine to me. Feel free to apply. Regards, Nicholas Kazlauskas On 2020-10-26 3:34 p.m., Alex Deucher wrote: Yes, looks good to me as well. Series is: Acked-by: Alex Deucher I'll give the display guys a few more days to look this over, but if there are no

[PATCH 3/4] drm/msm: fix -Woverride-init warning

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann There is one harmless duplicate initialization that causes a warning with 'make W=1': drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:122:19: warning: initialized field overwritten [-Woverride-init] 122 | .max_linewidth = 4096, | ^~~~ drivers/gpu/dr

[PATCH 4/4] drm/gma500: avoid Woverride-init warning

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann gcc -Wextra notices that one of the fields in psbfb_roll_ops has two initializers: drivers/gpu/drm/gma500/framebuffer.c:185:20: warning: initialized field overwritten [-Woverride-init] Open-code this instead, leaving out the extraneous initializers for .fb_pan_display. Fix

[PATCH 2/4] drm/imx: tve remove extraneous type qualifier

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann clang warns about functions returning a 'const int' result: drivers/gpu/drm/imx/imx-tve.c:487:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] Remove the extraneous 'const' qualifier here. I would guess that the function was intended to be

[PATCH 1/4] drm/tilcdc: avoid 'make W=2' build failure

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann The -Wmissing-field-initializer warning when building with W=2 turns into an error because tilcdc is built with -Werror: drm/tilcdc/tilcdc_drv.c:431:33: error: missing field 'data' initializer [-Werror,-Wmissing-field-initializers] { "regs", tilcdc_regs_show, 0 }, drm/tilcdc

[PATCH] matroxfb: avoid -Warray-bounds warning

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann The open-coded list_for_each_entry() causes a harmless warning: drivers/video/fbdev/matrox/matroxfb_base.c: In function 'matroxfb_register_driver': include/linux/kernel.h:856:3: warning: array subscript -98 is outside array bounds of 'struct list_head[1]' [-Warray-bounds]

Re: [PATCH 0/3] drm/amd/display: Fix kernel panic by breakpoint

2020-10-26 Thread Alex Deucher
Yes, looks good to me as well. Series is: Acked-by: Alex Deucher I'll give the display guys a few more days to look this over, but if there are no objections, I'll apply them. Thanks! Alex On Fri, Oct 23, 2020 at 7:16 PM Luben Tuikov wrote: > > On 2020-10-23 03:46, Takashi Iwai wrote: > > Hi,

RE: [PATCH 01/13] drm/ttm: nuke ttm_tt_set_(un)populated again

2020-10-26 Thread Chauhan, Madhav
[AMD Public Use] -Original Message- From: Christian König Sent: Monday, October 26, 2020 7:14 PM To: Chauhan, Madhav ; dri-devel@lists.freedesktop.org Cc: Huang, Ray Subject: Re: [PATCH 01/13] drm/ttm: nuke ttm_tt_set_(un)populated again Am 26.10.20 um 14:36 schrieb Chauhan, Madhav: >

[PATCH] drm/msm/a6xx: Add support for using system cache on MMU500 based targets

2020-10-26 Thread Jordan Crouse
This is an extension to the series [1] to enable the System Cache (LLC) for Adreno a6xx targets. GPU targets with an MMU-500 attached have a slightly different process for enabling system cache. Use the compatible string on the IOMMU phandle to see if an MMU-500 is attached and modify the programm

Re: [PATCH v2 1/3] drm/radeon: Add new callback that exposes vddc

2020-10-26 Thread Alex Deucher
I don't see them on the mailing list. Are you sure they went out? Alex On Sat, Oct 24, 2020 at 1:47 PM Sandeep wrote: > > Hello, > > I've resent the patches in the correct format. Please review. > > - Sandeep > > On Fri, 9 Oct 2020 at 13:14, Sandeep Raghuraman wrote: > > > > This patch adds a

Re: [PATCH 1/1] video: fbdev: fix divide error in fbcon_switch

2020-10-26 Thread Saeed Mirzamohammadi
Thanks, adding stable. Saeed > On Oct 22, 2020, at 12:34 AM, Thomas Zimmermann wrote: > > Hi > > On 22.10.20 01:57, saeed.mirzamohamm...@oracle.com wrote: >> From: Saeed Mirzamohammadi >> >> This patch fixes the issue due to: >> >> [ 89.572883] divide_error: [#1] SMP KASAN PTI >> [

[PATCHv6 0/6] System Cache support for GPU and required SMMU support

2020-10-26 Thread Sai Prakash Ranjan
Some hardware variants contain a system cache or the last level cache(llc). This cache is typically a large block which is shared by multiple clients on the SOC. GPU uses the system cache to cache both the GPU data buffers(like textures) as well the SMMU pagetables. This helps with improved render

Re: [PATCH resend] drm/v3d: Fix double free in v3d_submit_cl_ioctl()

2020-10-26 Thread Maxime Ripard
On Mon, Oct 26, 2020 at 12:49:05PM +0300, Dan Carpenter wrote: > Originally this error path used to leak "bin" but then we accidentally > applied two separate commits to fix it and ended up with a double free. > > Signed-off-by: Dan Carpenter > --- > Resending a year later because it was confusin

[PATCHv6 6/6] iommu: arm-smmu-impl: Add a space before open parenthesis

2020-10-26 Thread Sai Prakash Ranjan
Fix the checkpatch warning for space required before the open parenthesis. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c b/drivers/iommu/arm/arm-smmu

Re: [PATCH 3/3] drm/sun4i: frontend: Fix the scaler phase on A33

2020-10-26 Thread Maxime Ripard
On Wed, Oct 21, 2020 at 07:16:52PM +0200, Jernej Škrabec wrote: > Hi! > > Dne četrtek, 15. oktober 2020 ob 11:36:42 CEST je Maxime Ripard napisal(a): > > The A33 has a different phase parameter in the Allwinner BSP on the > > channel1 than the one currently applied. Fix this. > > > > Signed-off-b

[PATCHv6 2/6] iommu/arm-smmu: Add domain attribute for system cache

2020-10-26 Thread Sai Prakash Ranjan
Add iommu domain attribute for using system cache aka last level cache by client drivers like GPU to set right attributes for caching the hardware pagetables into the system cache. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-smmu/arm-smmu.c | 17 + drivers/iommu/a

[PATCHv6 3/6] drm/msm: rearrange the gpu_rmw() function

2020-10-26 Thread Sai Prakash Ranjan
From: Sharat Masetty The register read-modify-write construct is generic enough that it can be used by other subsystems as needed, create a more generic rmw() function and have the gpu_rmw() use this new function. Signed-off-by: Sharat Masetty Reviewed-by: Jordan Crouse Signed-off-by: Sai Prak

[PATCHv6 4/6] drm/msm/a6xx: Add support for using system cache(LLC)

2020-10-26 Thread Sai Prakash Ranjan
From: Sharat Masetty The last level system cache can be partitioned to 32 different slices of which GPU has two slices preallocated. One slice is used for caching GPU buffers and the other slice is used for caching the GPU SMMU pagetables. This talks to the core system cache driver to acquire the

Re: [PATCH v6 1/4] RDMA/umem: Support importing dma-buf as user memory region

2020-10-26 Thread Jason Gunthorpe
On Sat, Oct 24, 2020 at 08:48:07AM +0100, Christoph Hellwig wrote: > On Fri, Oct 23, 2020 at 03:20:05PM -0300, Jason Gunthorpe wrote: > > The problem is we have RDMA drivers that assume SGL's have a valid > > struct page, and these hacky/wrong P2P sgls that DMABUF creates cannot > > be passed into

[PATCHv6 1/6] iommu/io-pgtable-arm: Add support to use system cache

2020-10-26 Thread Sai Prakash Ranjan
Add a quirk IO_PGTABLE_QUIRK_SYS_CACHE to override the attributes set in TCR for the page table walker when using system cache. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/io-pgtable-arm.c | 7 ++- include/linux/io-pgtable.h | 4 2 files changed, 10 insertions(+), 1 deletion

  1   2   3   >