diff options
author | Alvin Lee <alvin.lee2@amd.com> | 2020-10-02 17:53:35 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-26 13:29:13 -0400 |
commit | 1db522cd03fdf692047e2317cfa16cf89bd42992 (patch) | |
tree | cfc9c96ab56fc7ee7525215ac472cdce79161dfc /drivers/gpu/drm/amd | |
parent | 39a71459a032c5ec4862d4ea071431c90bc707b2 (diff) | |
download | linux-1db522cd03fdf692047e2317cfa16cf89bd42992.tar.gz linux-1db522cd03fdf692047e2317cfa16cf89bd42992.tar.bz2 linux-1db522cd03fdf692047e2317cfa16cf89bd42992.zip |
drm/amd/display: Set WM set A to 0 if full pstate not supported
[Why]
If full pstate is not supported, we should set WM set A
to 0 to prevent any hangs
[How]
If pstate is not supported, set watermark set A to 0
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c index cd860d3f161d..0ca3c5a77d59 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c @@ -2313,7 +2313,7 @@ void dcn30_calculate_wm_and_dlg( * calculate DLG based on dummy p-state latency, and max out the set A p-state watermark */ context->bw_ctx.bw.dcn.watermarks.a = context->bw_ctx.bw.dcn.watermarks.c; - context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 0x13FFFF; + context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 0; } else { /* Set A: * DCFCLK: Min Required |