linux_dsm_epyc7002/drivers/gpu/drm/amd
Yongqiang Sun 14d6f64436 drm/amd/display: Fixed dim around 1sec when resume from S3 (v2)
root cause:
DMCU try to perform a smoothness brightness change.Incorrect initial
brightness level causes the 1 sec dim.
Change:
Cache brightness level in stream, and clear it when edp backlight on.
If brightness level in stream is 0, set brightness with ramp value is 0.
DMCU will set the brightness without smoothness transition.

v2: squash in null pointer fix (Harry)

Signed-off-by: Yongqiang Sun <yongqiang.sun@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>
2018-03-14 16:01:14 -05:00
..
acp drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
amdgpu drm/amdgpu: Move IH clientid defs to separate file 2018-03-14 15:16:35 -05:00
amdkfd drm/amdkfd: Implement KFD process eviction/restore 2018-02-06 20:32:45 -05:00
display drm/amd/display: Fixed dim around 1sec when resume from S3 (v2) 2018-03-14 16:01:14 -05:00
include drm/amdgpu: Move IH clientid defs to separate file 2018-03-14 15:16:35 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amdgpu: Move IH clientid defs to separate file 2018-03-14 15:16:35 -05:00