drm/amd/display: Enable P010 for DCN3x ASICs
authorStylon Wang <stylon.wang@amd.com>
Fri, 12 Nov 2021 12:05:19 +0000 (20:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Dec 2021 21:04:56 +0000 (16:04 -0500)
[Why + How]
Enable P010 for SDR video applications.

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c

index 77331a45a74907eacb57c7779ff1056b98cd9ff2..48ca4ad0b720f1de5c4a0714e6c781e3b2099566 100644 (file)
@@ -816,7 +816,7 @@ static const struct dc_plane_cap plane_cap = {
                        .argb8888 = true,
                        .nv12 = true,
                        .fp16 = true,
-                       .p010 = false,
+                       .p010 = true,
                        .ayuv = false,
        },
 
index 7abc36a4ff76b5f9e320544ea4a822453399ed7e..907bc4e1978b9e34e646113f1217ab142b47a2bf 100644 (file)
@@ -656,7 +656,7 @@ static const struct dc_plane_cap plane_cap = {
                        .argb8888 = true,
                        .nv12 = true,
                        .fp16 = true,
-                       .p010 = false,
+                       .p010 = true,
                        .ayuv = false,
        },
 
index 058f5d71e037ab6e4d80ae3b8884c4f35d14003c..003e9536867236c2b57820ba8547dd0a306cabb1 100644 (file)
@@ -276,7 +276,7 @@ static const struct dc_plane_cap plane_cap = {
                                .argb8888 = true,
                                .nv12 = true,
                                .fp16 = true,
-                               .p010 = false,
+                               .p010 = true,
                                .ayuv = false,
                },
                .max_upscale_factor = {
index 7024aeb0884cf155a8839448069ff7a8b4a83a47..01ba9d656c7294c58220bc3a11505236618f5897 100644 (file)
@@ -254,7 +254,7 @@ static const struct dc_plane_cap plane_cap = {
                                .argb8888 = true,
                                .nv12 = true,
                                .fp16 = true,
-                               .p010 = false,
+                               .p010 = true,
                                .ayuv = false,
                },
                .max_upscale_factor = {
index b3070c2e45c9b6e3755da442da80dd4dbccefef0..361a4a1da119c60e5f9df180f161946fe87ce7de 100644 (file)
@@ -968,7 +968,7 @@ static const struct dc_plane_cap plane_cap = {
                        .argb8888 = true,
                        .nv12 = true,
                        .fp16 = true,
-                       .p010 = false,
+                       .p010 = true,
                        .ayuv = false,
        },