summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorTao <xtao@amd.com>2018-02-09 00:04:25 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 22:20:15 +0300
commit3b94a4007dcfd4ac5780cd3d8a2d99979c966073 (patch)
treed4729668a1168225a2acc535814b7928126c764d /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parente923a355aa5dc861d4a50c29a292242bd90140c8 (diff)
downloadlinux-3b94a4007dcfd4ac5780cd3d8a2d99979c966073.tar.xz
drm/amd/display: Set vsc pack revision when DPCD revision is >= 1.2
Brightness couldn't change when booting up in DC mode. It was because "psr_enabled" flag was not set to true before setting vsc packet revision, causing packet rev setup was skipped. Now instead of checking the psr flag, it checks if the DPCD_REV >= 1.2 and set the vsc packet revision. Signed-off-by: Tao <xtao@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions