]> www.infradead.org Git - users/willy/pagecache.git/commit
drm/amdgpu/display: Allow DCC for video formats on GFX12
authorDavid Rosca <david.rosca@amd.com>
Thu, 13 Feb 2025 14:30:37 +0000 (15:30 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Mar 2025 18:07:35 +0000 (14:07 -0400)
commitdf1e82e7acd3c50b65ca0e2e09089b78382d14ab
treef3b16e8fb0255c9f139080c2090293d9ea9a7a0f
parent80e54e84911a923c40d7bee33a34c1b4be148d7a
drm/amdgpu/display: Allow DCC for video formats on GFX12

We advertise DCC as supported for NV12/P010 formats on GFX12,
but it would fail on this check on atomic commit.

Signed-off-by: David Rosca <david.rosca@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit ba795235a2b99ba9bbef647ab003b2f3145d9bbb)
Cc: stable@vger.kernel.org # 6.12.x
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c