drm/amd/display: Hook up PSR residency command to DSAT
authorWyatt Wood <wyatt.wood@amd.com>
Wed, 21 Oct 2020 12:36:51 +0000 (08:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2020 17:18:38 +0000 (12:18 -0500)
commitb8e0b3d611e3388361d86a19f27bf2a6d7366111
tree3520e4e0a4bcbe68537cf025233ea66ba7d09671
parent58cae8ac6b87c11917e58f3f4bbe4cd1c6d86352
drm/amd/display: Hook up PSR residency command to DSAT

[Why]
Use GPINT command to get PSR residency from FW.

[How]
Hook up PSR residency command to DSAT.
Since PSR Count Request is deprecated, we will use this.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc_link.h
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h