[PATCH AUTOSEL 6.3 02/44] drm/amd/display: populate subvp cmd info only for the top pipe

2023-04-30 Thread Sasha Levin
From: Ayush Gupta [ Upstream commit 9bb10b7aaec3b6278f9cc410c17dcaa129f0 ] [Why] System restart observed while changing the display resolution to 8k with extended mode. Sytem restart was caused by a page fault. [How] When the driver populates subvp info it did it for both the pipes using vb

[PATCH AUTOSEL 6.3 03/44] drm/amd/display: Correct DML calculation to align HW formula

2023-04-30 Thread Sasha Levin
From: Paul Hsieh [ Upstream commit 26a9f53198c955b15161da48cdb51041a38d5325 ] [Why] In 2560x1440@240p eDP panel, some use cases will enable MPC combine with RGB MPO then underflow happened. This case is not allowed from HW formula.  [How] Correct eDP, DP and DP2 output bpp calculation to align

[PATCH AUTOSEL 6.3 04/44] drm/amd/display: enable DPG when disabling plane for phantom pipe

2023-04-30 Thread Sasha Levin
From: Samson Tam [ Upstream commit f3f8f16b10f8258f1836e1110099097490a1d6c1 ] [Why] In disable_dangling_plane, for phantom pipes, we enable OTG so disable programming gets the double buffer update. But this causes an underflow to occur. [How] Enable DPG prior to enabling OTG. Reviewed-by: Alv

[PATCH AUTOSEL 6.3 06/44] drm/amd/display: Enable HostVM based on rIOMMU active

2023-04-30 Thread Sasha Levin
From: Gabe Teeger [ Upstream commit 97fa4dfa66fdd52ad3d0c9fadeaaa1e87605bac7 ] [Why] There is underflow and flickering occuring. The underflow stops when hostvm is forced to active. According to policy, hostvm should be enabled if riommu is active, but this is not taken into account when decidin

[PATCH AUTOSEL 6.3 07/44] drm/amd/display: Use DC_LOG_DC in the trasform pixel function

2023-04-30 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 7222f5841ff49709ca666b05ff336776e0664a20 ] [Why & How] DC now uses a new commit sequence which is more robust since it addresses cases where we need to reorganize pipes based on planes and other parameters. As a result, this new commit sequence reset the

[PATCH AUTOSEL 6.3 12/44] drm/amd/display: reallocate DET for dual displays with high pixel rate ratio

2023-04-30 Thread Sasha Levin
From: Samson Tam [ Upstream commit 5f3401eeb064fab5ce50728cce46532cce7a85c5 ] [Why] For dual displays where pixel rate is much higher on one display, we may get underflow when DET is evenly allocated. [How] Allocate less DET segments for the lower pixel rate display and more DET segments for th

[PATCH AUTOSEL 6.3 24/44] drm/amd/display: fixed dcn30+ underflow issue

2023-04-30 Thread Sasha Levin
From: Ayush Gupta [ Upstream commit 37403ced9f2873fab7f39ab4ac963bbb33fb0bc0 ] [Why] Observing underflow on dcn30+ system config at 4k144hz [How] We set the UCLK hardmax on AC/DC switch if softmax is enabled and also on boot. While booting up the UCLK Hardmax is set to softmax before the init s

[PATCH AUTOSEL 6.3 37/44] drm/amd/display: Correct DML calculation to follow HW SPEC

2023-04-30 Thread Sasha Levin
From: Paul Hsieh [ Upstream commit 385c3e4c29e1d4ce8f68687a8c84621e4c0e0416 ] [Why] In 2560x1600@240p eDP panel, driver use lowest voltage level to play 1080p video cause underflow. According to HW SPEC, the senario should use high voltage level. [How] ChromaPre value is zero when bandwidth val

[PATCH AUTOSEL 6.3 38/44] drm/amd: Fix an out of bounds error in BIOS parser

2023-04-30 Thread Sasha Levin
From: Mario Limonciello [ Upstream commit d116db180decec1b21bba31d2ff495ac4d8e1b83 ] The array is hardcoded to 8 in atomfirmware.h, but firmware provides a bigger one sometimes. Deferencing the larger array causes an out of bounds error. commit 4fc1ba4aa589 ("drm/amd/display: fix array index ou

[PATCH AUTOSEL 6.3 39/44] drm/amdgpu: Fix sdma v4 sw fini error

2023-04-30 Thread Sasha Levin
From: lyndonli [ Upstream commit 5e08e9c742a00384e5abe74bd40cf4dc15cb3a2e ] Fix sdma v4 sw fini error for sdma 4.2.2 to solve the following general protection fault [ +0.108196] general protection fault, probably for non-canonical address 0xd5e5a4ae79d24a32: [#1] PREEMPT SMP PTI [ +0.000

[PATCH AUTOSEL 6.3 41/44] drm/amdgpu: Enable IH retry CAM on GFX9

2023-04-30 Thread Sasha Levin
From: Mukul Joshi [ Upstream commit 318e431b306e966d2ee99e900a11bdc9a701ee83 ] This patch enables the IH retry CAM on GFX9 series cards. This retry filter is used to prevent sending lots of retry interrupts in a short span of time and overflowing the IH ring buffer. This will also help reduce CP

[PATCH AUTOSEL 6.2 02/37] drm/amd/display: populate subvp cmd info only for the top pipe

2023-04-30 Thread Sasha Levin
From: Ayush Gupta [ Upstream commit 9bb10b7aaec3b6278f9cc410c17dcaa129f0 ] [Why] System restart observed while changing the display resolution to 8k with extended mode. Sytem restart was caused by a page fault. [How] When the driver populates subvp info it did it for both the pipes using vb

[PATCH AUTOSEL 6.2 03/37] drm/amd/display: Correct DML calculation to align HW formula

2023-04-30 Thread Sasha Levin
From: Paul Hsieh [ Upstream commit 26a9f53198c955b15161da48cdb51041a38d5325 ] [Why] In 2560x1440@240p eDP panel, some use cases will enable MPC combine with RGB MPO then underflow happened. This case is not allowed from HW formula.  [How] Correct eDP, DP and DP2 output bpp calculation to align

[PATCH AUTOSEL 6.2 04/37] drm/amd/display: enable DPG when disabling plane for phantom pipe

2023-04-30 Thread Sasha Levin
From: Samson Tam [ Upstream commit d47d2f9392f69f069c31d60ac3088471b1e1c7d4 ] [Why] In disable_dangling_plane, for phantom pipes, we enable OTG so disable programming gets the double buffer update. But this causes an underflow to occur. [How] Enable DPG prior to enabling OTG. Reviewed-by: Alv

[PATCH AUTOSEL 6.2 06/37] drm/amd/display: Enable HostVM based on rIOMMU active

2023-04-30 Thread Sasha Levin
From: Gabe Teeger [ Upstream commit 97fa4dfa66fdd52ad3d0c9fadeaaa1e87605bac7 ] [Why] There is underflow and flickering occuring. The underflow stops when hostvm is forced to active. According to policy, hostvm should be enabled if riommu is active, but this is not taken into account when decidin

[PATCH AUTOSEL 6.2 07/37] drm/amd/display: Use DC_LOG_DC in the trasform pixel function

2023-04-30 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 7222f5841ff49709ca666b05ff336776e0664a20 ] [Why & How] DC now uses a new commit sequence which is more robust since it addresses cases where we need to reorganize pipes based on planes and other parameters. As a result, this new commit sequence reset the

[PATCH AUTOSEL 6.2 22/37] drm/amd/display: fixed dcn30+ underflow issue

2023-04-30 Thread Sasha Levin
From: Ayush Gupta [ Upstream commit 37403ced9f2873fab7f39ab4ac963bbb33fb0bc0 ] [Why] Observing underflow on dcn30+ system config at 4k144hz [How] We set the UCLK hardmax on AC/DC switch if softmax is enabled and also on boot. While booting up the UCLK Hardmax is set to softmax before the init s

[PATCH AUTOSEL 6.2 32/37] drm/amd/display: Correct DML calculation to follow HW SPEC

2023-04-30 Thread Sasha Levin
From: Paul Hsieh [ Upstream commit 385c3e4c29e1d4ce8f68687a8c84621e4c0e0416 ] [Why] In 2560x1600@240p eDP panel, driver use lowest voltage level to play 1080p video cause underflow. According to HW SPEC, the senario should use high voltage level. [How] ChromaPre value is zero when bandwidth val

[PATCH AUTOSEL 6.2 33/37] drm/amd: Fix an out of bounds error in BIOS parser

2023-04-30 Thread Sasha Levin
From: Mario Limonciello [ Upstream commit d116db180decec1b21bba31d2ff495ac4d8e1b83 ] The array is hardcoded to 8 in atomfirmware.h, but firmware provides a bigger one sometimes. Deferencing the larger array causes an out of bounds error. commit 4fc1ba4aa589 ("drm/amd/display: fix array index ou

[PATCH AUTOSEL 6.2 34/37] drm/amdgpu: Fix sdma v4 sw fini error

2023-04-30 Thread Sasha Levin
From: lyndonli [ Upstream commit 5e08e9c742a00384e5abe74bd40cf4dc15cb3a2e ] Fix sdma v4 sw fini error for sdma 4.2.2 to solve the following general protection fault [ +0.108196] general protection fault, probably for non-canonical address 0xd5e5a4ae79d24a32: [#1] PREEMPT SMP PTI [ +0.000

[PATCH AUTOSEL 6.2 36/37] drm/amdgpu: Enable IH retry CAM on GFX9

2023-04-30 Thread Sasha Levin
From: Mukul Joshi [ Upstream commit 318e431b306e966d2ee99e900a11bdc9a701ee83 ] This patch enables the IH retry CAM on GFX9 series cards. This retry filter is used to prevent sending lots of retry interrupts in a short span of time and overflowing the IH ring buffer. This will also help reduce CP

[PATCH AUTOSEL 6.1 02/33] drm/amd/display: populate subvp cmd info only for the top pipe

2023-04-30 Thread Sasha Levin
From: Ayush Gupta [ Upstream commit 9bb10b7aaec3b6278f9cc410c17dcaa129f0 ] [Why] System restart observed while changing the display resolution to 8k with extended mode. Sytem restart was caused by a page fault. [How] When the driver populates subvp info it did it for both the pipes using vb

[PATCH AUTOSEL 6.1 03/33] drm/amd/display: Correct DML calculation to align HW formula

2023-04-30 Thread Sasha Levin
From: Paul Hsieh [ Upstream commit 26a9f53198c955b15161da48cdb51041a38d5325 ] [Why] In 2560x1440@240p eDP panel, some use cases will enable MPC combine with RGB MPO then underflow happened. This case is not allowed from HW formula.  [How] Correct eDP, DP and DP2 output bpp calculation to align

[PATCH AUTOSEL 6.1 06/33] drm/amd/display: Use DC_LOG_DC in the trasform pixel function

2023-04-30 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 7222f5841ff49709ca666b05ff336776e0664a20 ] [Why & How] DC now uses a new commit sequence which is more robust since it addresses cases where we need to reorganize pipes based on planes and other parameters. As a result, this new commit sequence reset the

[PATCH AUTOSEL 6.1 05/33] drm/amd/display: Enable HostVM based on rIOMMU active

2023-04-30 Thread Sasha Levin
From: Gabe Teeger [ Upstream commit 97fa4dfa66fdd52ad3d0c9fadeaaa1e87605bac7 ] [Why] There is underflow and flickering occuring. The underflow stops when hostvm is forced to active. According to policy, hostvm should be enabled if riommu is active, but this is not taken into account when decidin

[PATCH AUTOSEL 6.1 19/33] drm/amd/display: fixed dcn30+ underflow issue

2023-04-30 Thread Sasha Levin
From: Ayush Gupta [ Upstream commit 37403ced9f2873fab7f39ab4ac963bbb33fb0bc0 ] [Why] Observing underflow on dcn30+ system config at 4k144hz [How] We set the UCLK hardmax on AC/DC switch if softmax is enabled and also on boot. While booting up the UCLK Hardmax is set to softmax before the init s

[PATCH AUTOSEL 6.1 29/33] drm/amd/display: Correct DML calculation to follow HW SPEC

2023-04-30 Thread Sasha Levin
From: Paul Hsieh [ Upstream commit 385c3e4c29e1d4ce8f68687a8c84621e4c0e0416 ] [Why] In 2560x1600@240p eDP panel, driver use lowest voltage level to play 1080p video cause underflow. According to HW SPEC, the senario should use high voltage level. [How] ChromaPre value is zero when bandwidth val

[PATCH AUTOSEL 6.1 30/33] drm/amd: Fix an out of bounds error in BIOS parser

2023-04-30 Thread Sasha Levin
From: Mario Limonciello [ Upstream commit d116db180decec1b21bba31d2ff495ac4d8e1b83 ] The array is hardcoded to 8 in atomfirmware.h, but firmware provides a bigger one sometimes. Deferencing the larger array causes an out of bounds error. commit 4fc1ba4aa589 ("drm/amd/display: fix array index ou

[PATCH AUTOSEL 6.1 31/33] drm/amdgpu: Fix sdma v4 sw fini error

2023-04-30 Thread Sasha Levin
From: lyndonli [ Upstream commit 5e08e9c742a00384e5abe74bd40cf4dc15cb3a2e ] Fix sdma v4 sw fini error for sdma 4.2.2 to solve the following general protection fault [ +0.108196] general protection fault, probably for non-canonical address 0xd5e5a4ae79d24a32: [#1] PREEMPT SMP PTI [ +0.000

[PATCH AUTOSEL 5.15 02/17] drm/amd/display: Use DC_LOG_DC in the trasform pixel function

2023-04-30 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 7222f5841ff49709ca666b05ff336776e0664a20 ] [Why & How] DC now uses a new commit sequence which is more robust since it addresses cases where we need to reorganize pipes based on planes and other parameters. As a result, this new commit sequence reset the

[PATCH AUTOSEL 5.15 16/17] drm/amd: Fix an out of bounds error in BIOS parser

2023-04-30 Thread Sasha Levin
From: Mario Limonciello [ Upstream commit d116db180decec1b21bba31d2ff495ac4d8e1b83 ] The array is hardcoded to 8 in atomfirmware.h, but firmware provides a bigger one sometimes. Deferencing the larger array causes an out of bounds error. commit 4fc1ba4aa589 ("drm/amd/display: fix array index ou

[PATCH AUTOSEL 5.10 01/12] drm/amd/display: Use DC_LOG_DC in the trasform pixel function

2023-04-30 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 7222f5841ff49709ca666b05ff336776e0664a20 ] [Why & How] DC now uses a new commit sequence which is more robust since it addresses cases where we need to reorganize pipes based on planes and other parameters. As a result, this new commit sequence reset the

[PATCH AUTOSEL 5.10 12/12] drm/amd: Fix an out of bounds error in BIOS parser

2023-04-30 Thread Sasha Levin
From: Mario Limonciello [ Upstream commit d116db180decec1b21bba31d2ff495ac4d8e1b83 ] The array is hardcoded to 8 in atomfirmware.h, but firmware provides a bigger one sometimes. Deferencing the larger array causes an out of bounds error. commit 4fc1ba4aa589 ("drm/amd/display: fix array index ou

[PATCH AUTOSEL 5.4 1/9] drm/amd/display: Use DC_LOG_DC in the trasform pixel function

2023-04-30 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 7222f5841ff49709ca666b05ff336776e0664a20 ] [Why & How] DC now uses a new commit sequence which is more robust since it addresses cases where we need to reorganize pipes based on planes and other parameters. As a result, this new commit sequence reset the

[PATCH AUTOSEL 4.19 1/9] drm/amd/display: Use DC_LOG_DC in the trasform pixel function

2023-04-30 Thread Sasha Levin
From: Rodrigo Siqueira [ Upstream commit 7222f5841ff49709ca666b05ff336776e0664a20 ] [Why & How] DC now uses a new commit sequence which is more robust since it addresses cases where we need to reorganize pipes based on planes and other parameters. As a result, this new commit sequence reset the