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

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