]> 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)
commit5e9ace68174c1071a4edbb783217845d79016187
tree7035c1f1f11adf4f0cd6a537a3099e5a27ccef16
parent7277daf933f82321b166f5000ba5847dc0118d4c
drm/amd/display: restore code for plane with no modifiers

When this file was split in commit b4f826067c9c ("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: b4f826067c9c ("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