drm/amd/display: limit the code change to ips enabled asic
authorCharlene Liu <charlene.liu@amd.com>
Tue, 2 Apr 2024 20:03:08 +0000 (16:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 01:24:02 +0000 (21:24 -0400)
commitd7fedf2656462c2c20d6d98446e1cdf1c0edc0aa
tree565387c7d470be38039e5efa532dd068f1e40d17
parent63985d9adf8ca54e0ca73f79f5a64f6101b74523
drm/amd/display: limit the code change to ips enabled asic

Limit the code change for ips enable to reduce the impact for now. Also
exit_ips first before dc_power_down to avoid 0x9f.

Reviewed-by: Chris Park <chris.park@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@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/core/dc.c