drm/amd/display: Fix assert being hit with GAMCOR memory shut down
authorJacky Liao <ziyu.liao@amd.com>
Tue, 15 Dec 2020 19:06:27 +0000 (14:06 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:44:15 +0000 (23:44 -0500)
commit36ec5b16619e65aea5b35c028369381494838a89
tree09de1de2056b09f50d985b30308ef9d5c126ba01
parent96b5e3e1f8b5d1e193e3ffc2250178f143f4d9c8
drm/amd/display: Fix assert being hit with GAMCOR memory shut down

[Why]
A call to BREAK_TO_DEBUGGER is triggered when powering down memory

[How]
Remove the check for GAMCOR_MEM_PWR_STATE when powering off the memory

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Jacky Liao <ziyu.liao@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@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/dcn30/dcn30_dpp_cm.c