drm/amd/display: Set WM set A to 0 if full pstate not supported
authorAlvin Lee <alvin.lee2@amd.com>
Fri, 2 Oct 2020 21:53:35 +0000 (17:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:29:13 +0000 (13:29 -0400)
commit1db522cd03fdf692047e2317cfa16cf89bd42992
treecfc9c96ab56fc7ee7525215ac472cdce79161dfc
parent39a71459a032c5ec4862d4ea071431c90bc707b2
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>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c