]> git.baikalelectronics.ru Git - 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)
commit1a981c658da8455def3e9fa590e5f8983f073c15
tree4ba17215dc15bb0e78a2188258556f71a49965f5
parent1990a91d75b7e11f3cc5cfebf2c1019d8a7983d1
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