drm/amd/display: expose AMD specific DPCD for PSR-SU-RC support
authorDavid Zhang <dingchen.zhang@amd.com>
Tue, 3 May 2022 21:53:44 +0000 (17:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jun 2022 20:09:57 +0000 (16:09 -0400)
commit6bad4ff84cb57f548d42a41091159b750eed9ef9
treeb6f046266e391da3c94c3ccb1ae6d9c99feb0ed6
parent44961f6ebce9a7dccb2ec3dca312c5dbf85920e5
drm/amd/display: expose AMD specific DPCD for PSR-SU-RC support

[why & how]

Expose vendor specific DPCD registers for rate controlling the eDP sink
TCON's refresh rate during PSR active. When used in combination with
PSR-SU and Freesync, it is called PSR-SU Rate Contorol, or PSR-SU-RC for
short.

v2: Add all DPCD registers required

Signed-off-by: David Zhang <dingchen.zhang@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/include/ddc_service_types.h