]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: restore code for plane with no modifiers
authorDave Airlie <airlied@redhat.com>
Thu, 4 Aug 2022 05:50:20 +0000 (15:50 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Aug 2022 17:22:40 +0000 (10:22 -0700)
commit2e556b3a20b68bb45db07b5ccaaaa80b290a698b
tree7035c1f1f11adf4f0cd6a537a3099e5a27ccef16
parent918d086420730bb4c4e76b2d0b6d4dfa7fdb169e
drm/amd/display: restore code for plane with no modifiers

When this file was split in commit 6d886e1e9b74 ("drm/amd/display:
Create a file dedicated to planes") this chunk seemed to get dropped.

Linus noticed on this rx580 and I've reproduced on FIJI which makes
sense as these are pre-modifier GPUs.

With this applied, I get gdm back.

Fixes: 6d886e1e9b74 ("drm/amd/display: Create a file dedicated to planes")
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reported-and-tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c