]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amd/display: Disable P010 Support of DCN 1.0
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 26 Mar 2024 17:23:40 +0000 (11:23 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Apr 2024 04:35:09 +0000 (00:35 -0400)
[WHY]
DCN 1.0 is not ready for the P010 support.

[HOW]
1. Set the P010 plan_cap of DCN 1.0 to be false.
2. Let the DM do the plan cap initialization of DCN 1.0.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Figo Wang <shen-hong.wang@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dcn10/dcn10_resource.c

index d08d1096925143a06035661ef9d7aaf35c53a29a..81fa2ac781f9fc7dc4bcf842b5a2c0a1f42954fc 100644 (file)
@@ -513,7 +513,7 @@ static const struct dc_plane_cap plane_cap = {
                        .argb8888 = true,
                        .nv12 = true,
                        .fp16 = true,
-                       .p010 = true
+                       .p010 = false
        },
 
        .max_upscale_factor = {