APPLIED[M/L]/Cmnt: [SRU] [L/M/N] [PATCH 0/1] Avoid using damage rectangle under hardware rotation mode when PSR is enabled
Stefan Bader
stefan.bader at canonical.com
Thu Dec 14 16:03:54 UTC 2023
On 08.12.23 17:46, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/2045958
>
> [Impact]
> When hardware rotation feature is used by compositor, the clip damage on
> cursor plane causes screen glitches on AMD platforms with PSR panel.
>
> [Fix]
> Disable clip damage when hardware rotation is used.
>
> [Test]
> With the patch applied, the issue can't be observed when the screen is
> rotated 180 degree.
> 90 and 270 degrees are unaffected since no compositor is using hardware
> rotation for those two angles.
>
> [Where problems could occur]
> The power consumption in theory will higher for 180 degree rotation
> because now the full screen may need to be redrawn when cursor moves.
>
> Hamza Mahfooz (1):
> drm/amd/display: fix hw rotated modes when PSR-SU is enabled
>
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +++
> drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 1 +
> .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 3 ++-
> drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c | 12 ++++++++++--
> 4 files changed, 16 insertions(+), 3 deletions(-)
>
This is now in linux-next:
commit 0497ae6f8830816d9277a8d5c8d9bf5966f292e1
Author: Hamza Mahfooz <hamza.mahfooz at amd.com>
Date: Tue Dec 5 14:55:04 2023 -0500
drm/amd/display: fix hw rotated modes when PSR-SU is enabled
Applied that instead but for Mantic/Lunar it is not a cherry pick
because dcn10_hw_sequencer.c was moved and renamed in upstream. Might apply
as cherry pick to Noble (not the submitted version).
Applied to mantic,lunar:linux/master-next. Thanks.
-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231214/ef6ac03a/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231214/ef6ac03a/attachment-0001.sig>
More information about the kernel-team
mailing list