]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/amd/display: add psr_version to stream
authorXingyue Tao <xingyue.tao@amd.com>
Fri, 16 Feb 2018 21:29:13 +0000 (16:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Mar 2018 20:33:56 +0000 (15:33 -0500)
commit85075fa04287dce81397dab75af0992274727b82
tree4ba17215dc15bb0e78a2188258556f71a49965f5
parentf03628232fe93ce7af18079ce69c2dfd4c95d70f
drm/amd/display: add psr_version to stream

Brightness could not be changed for some panels whose DPCD_version is below 1.2
Now psr_version is added into stream, and it copies from the displayTarget's psr_version.
It checks if the stream's psr_versio is non-zero and sets the vsc info packet revision now.

Signed-off-by: Xingyue Tao <xingyue.tao@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dc_stream.h