bianbu-linux-6.6/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Implement stats logging 2018-03-14 15:08:47 -05:00
bios drm/amd/display: Allow passing of syspll id to get_smu_clock_info 2018-03-14 15:08:43 -05:00
calcs drm/amd/display: update dce_calcs to latest version 2018-03-14 15:16:35 -05:00
core drm/amd/display: Fixed dim around 1sec when resume from S3 (v2) 2018-03-14 16:01:14 -05:00
dce drm/amd/display: Use actual TG instance instead of pipe instance 2018-03-14 15:16:36 -05:00
dce80 drm/amd/display: Enable backlight support for pre-DCE11 ASICs 2018-03-14 15:08:46 -05:00
dce100 drm/amd/display: Enable backlight support for pre-DCE11 ASICs 2018-03-14 15:08:46 -05:00
dce110 drm/amd/display: Fixed dim around 1sec when resume from S3 (v2) 2018-03-14 16:01:14 -05:00
dce112 drm/amd/display: define DC_LOGGER for logger 2018-03-05 15:35:13 -05:00
dce120 drm/amd/display: Add timing generator count to resource pool. 2018-02-19 14:18:36 -05:00
dcn10 drm/amd/display: Set disp clk in a safe way to avoid over high dpp clk. (v2) 2018-03-14 15:16:34 -05:00
dml drm/amd/display: Use MACROS instead of dm_logger 2018-03-14 15:08:45 -05:00
gpio drm/amd/dc: include new ip and ip_offset headers 2018-02-19 14:18:14 -05:00
i2caux drm/amd/display: define DC_LOGGER for logger 2018-03-05 15:35:13 -05:00
inc drm/amd/display: update dce_calcs to latest version 2018-03-14 15:16:35 -05:00
irq drm/amd/display: Don't blow up if TG is NULL in dce110_vblank_set 2018-03-05 15:36:24 -05:00
virtual drm/amd/display: Pass signal directly to enable_tmds_output 2018-02-19 14:17:24 -05:00
dc.h drm/amd/display: Set disp clk in a safe way to avoid over high dpp clk. (v2) 2018-03-14 15:16:34 -05:00
dc_bios_types.h drm/amd/display: resume from S3 bypass power down HW block. 2018-02-19 14:19:35 -05:00
dc_ddc_types.h drm/amd/display: Roll core_link into dc_link 2017-09-26 18:15:36 -04:00
dc_dp_types.h drm/amd/display: get remote dpcd caps for timing validation 2017-12-06 12:47:26 -05:00
dc_helper.c drm/amdgpu: add license to files where it was missing 2017-12-07 11:51:25 -05:00
dc_hw_types.h drm/amd/display: Add variable refresh rate parameters to DC structures 2018-03-14 15:08:47 -05:00
dc_link.h drm/amd/display: Add passive dongle support for HPD Rearch 2018-03-05 15:33:02 -05:00
dc_stream.h drm/amd/display: Fixed dim around 1sec when resume from S3 (v2) 2018-03-14 16:01:14 -05:00
dc_types.h drm/amd/display: Add variable refresh rate parameters to DC structures 2018-03-14 15:08:47 -05:00
dm_helpers.h drm/amd/display: add diags clock programming 2018-03-05 15:34:40 -05:00
dm_pp_smu.h drm/amd/display: PME sw wa to support waking AZ D3 2018-02-19 14:17:17 -05:00
dm_services.h drm/amd/display: Remove unused dm_pp_ interfaces 2018-02-19 14:20:16 -05:00
dm_services_types.h drm/amd/dc: Use forward declaration instand of include header file 2018-03-05 15:38:05 -05:00
irq_types.h drm/amd/display: Add interrupt entries for VBLANK isr. 2017-09-26 17:11:12 -04:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
os_types.h drm/amd/display: Don't spam debug log on long reg waits 2017-12-20 14:46:06 -05:00