drm/amd/display: correct num_dsc based on HW cap
authorCharlene Liu <Charlene.Liu@amd.com>
Sat, 10 Sep 2022 19:08:51 +0000 (15:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 19:17:03 +0000 (15:17 -0400)
[why]
num_dsc is 3 for dcn314 based on HW capablity.

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@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/dcn314/dcn314_resource.c

index a6c5ad9b67db1c6b44e43e5c75e3b5ef1f2894fa..24ec71cbd3e3e536087c1d32d704aff02e97868f 100644 (file)
@@ -847,7 +847,7 @@ static const struct resource_caps res_cap_dcn314 = {
        .num_ddc = 5,
        .num_vmid = 16,
        .num_mpc_3dlut = 2,
-       .num_dsc = 4,
+       .num_dsc = 3,
 };
 
 static const struct dc_plane_cap plane_cap = {