aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2020-11-11 02:48:40 +0000
committerAlex Deucher <[email protected]>2020-11-13 22:29:47 +0000
commit1331e6304f5d924a8dee18064f56f13c890cb009 (patch)
tree1c9199623dc6124afb47b968b8cff3f0ccaac50f /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentdrm/amd/display: Set new format info for converted metadata. (diff)
downloadkernel-1331e6304f5d924a8dee18064f56f13c890cb009.tar.gz
kernel-1331e6304f5d924a8dee18064f56f13c890cb009.zip
drm/amd/display: Extract 3rd plane from metadata
Now that we actually expose the right number of planes we get problems with modifier aware libva if we use an unsupported modifier. So this ensures that we as much as possible use a modifier that radeonsi can actually render to without going to extreme difficulty to synchronize an extra DCC metadata plane with implicit sync. Looking into the opaque metadata isn't ideal but this converts to something mainly for the purpose of the userspace driver and falls back properly if it isn't what we expect. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions