]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Revert "drm/amd/display: Add NV12/P010 formats to primary plane"
authorHarry Wentland <harry.wentland@amd.com>
Tue, 17 Mar 2026 17:04:51 +0000 (13:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Mar 2026 21:48:34 +0000 (17:48 -0400)
With this change we're adding NV12 and P010 twice to reported
formats on a primary plane, which causes us to hit an assert
in Weston.

This reverts commit 63fff551318f5e0814b94f709a6dfaec789dcd7a.

Fixes: 63fff551318f ("drm/amd/display: Add NV12/P010 formats to primary plane")
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c

index 9de336776405165f8f997a2ec4140d25918f43ef..54ae1c371511f8f01f04c10891a90e16afced780 100644 (file)
@@ -62,9 +62,6 @@ static const uint32_t rgb_formats[] = {
        DRM_FORMAT_XBGR8888,
        DRM_FORMAT_ABGR8888,
        DRM_FORMAT_RGB565,
-       DRM_FORMAT_NV21,
-       DRM_FORMAT_NV12,
-       DRM_FORMAT_P010
 };
 
 static const uint32_t overlay_formats[] = {