Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
authorQingqing Zhuo <qingqing.zhuo@amd.com>
Wed, 14 Apr 2021 23:14:14 +0000 (19:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Apr 2021 20:32:45 +0000 (16:32 -0400)
commitfe180178390b264ffab631eca85e97430ad77d16
tree217144e08ca11be7007a16218bc26a9f88afa3fa
parent2b60818258dca9391109fdaa4d79f77a489bf1a6
Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""

This reverts commit 55fa622fe635bfc3f2587d784f6facc30f8fdf12.

The regression caused by the original patch has been
cleared, thus introduce back the change.

Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c