drm/amd/display: Enable Z10 flag for IPS FSM
authorSung Joon Kim <sungjoon.kim@amd.com>
Thu, 4 Apr 2024 19:03:58 +0000 (15:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 01:24:44 +0000 (21:24 -0400)
commite9e4b3a05b017d031f58239a7ca458337d35ed9b
tree2ed398fc0e6dcd45d9d301b79d439324a169ff87
parent0a571e8657c40047e6602466abfcb6514a391041
drm/amd/display: Enable Z10 flag for IPS FSM

[why]
IPS FSM requires Z10 flag to be enabled to do save and restore the
registers properly.

[how]
Enable Z10 and use the correct function to determine Z10 capability

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Sung Joon Kim <sungjoon.kim@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/resource/dcn351/dcn351_resource.c