OSDN Git Service

drm/amd/display: Fix PSR command version
authorMikita Lipski <mikita.lipski@amd.com>
Wed, 14 Jul 2021 10:41:13 +0000 (06:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Jul 2021 16:10:34 +0000 (12:10 -0400)
commitaf1f2b19fd7d404d299355cc95930efee5b3ed8b
tree82baa13a68c211fdcc08f791dcd3202fdca034a3
parente088068dc9a5e0276cccdeaee6552af80c543e6a
drm/amd/display: Fix PSR command version

[why]
For dual eDP when setting the new settings we need to set
command version to DMUB_CMD_PSR_CONTROL_VERSION_1, otherwise
DMUB will not read panel_inst parameter.
[how]
Instead of PSR_VERSION_1 pass DMUB_CMD_PSR_CONTROL_VERSION_1

Reviewed-by: Wood Wyatt <Wyatt.Wood@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@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/dce/dmub_psr.c