drm/amd/display: Update extended timeout support for DCN20 and DCN21
authorabdoulaye berthe <abdoulaye.berthe@amd.com>
Tue, 3 Dec 2019 19:04:06 +0000 (14:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2019 21:09:10 +0000 (16:09 -0500)
[Why]
DCN21 and DCN2 extended timeout support cap is not set correctly.

[How]
Set extended timeout support for ASIC families to their right values.

Signed-off-by: abdoulaye berthe <abdoulaye.berthe@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c

index 3cc8d4be1698acdf60cf2cdb0f59b527aaa59111..d72e921fffa01eec775917488d87c5ad913cf9b1 100644 (file)
@@ -3483,7 +3483,7 @@ static bool dcn20_resource_construct(
        dc->caps.post_blend_color_processing = true;
        dc->caps.force_dp_tps4_for_cp2520 = true;
        dc->caps.hw_3d_lut = true;
-       dc->caps.extended_aux_timeout_support = false;
+       dc->caps.extended_aux_timeout_support = true;
 
        if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV) {
                dc->debug = debug_defaults_drv;
index 61e64011d3dd2acd5555ddaf75f3cc16a208b38b..c76449f5806456b0eba5a0cc82bdeeb6496379fd 100644 (file)
@@ -1679,7 +1679,7 @@ static bool dcn21_resource_construct(
        dc->caps.max_slave_planes = 1;
        dc->caps.post_blend_color_processing = true;
        dc->caps.force_dp_tps4_for_cp2520 = true;
-       dc->caps.extended_aux_timeout_support = false;
+       dc->caps.extended_aux_timeout_support = true;
        dc->caps.dmcub_support = true;
 
        if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV)