Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: Add control flag to dc_stream_state to skip eDP BL off/link off

Add control flag to dc_stream_state to skip eDP BL off/link off.

Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Max Tseng <max.tseng@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Max Tseng and committed by
Alex Deucher
8e7b3f54 490ddccb

+7 -4
+1
drivers/gpu/drm/amd/display/dc/dc_stream.h
··· 302 302 bool vblank_synchronized; 303 303 bool fpo_in_use; 304 304 struct mall_stream_config mall_stream_config; 305 + bool skip_edp_power_down; 305 306 }; 306 307 307 308 #define ABM_LEVEL_IMMEDIATE_DISABLE 255
+2 -1
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
··· 1216 1216 struct dce_hwseq *hws = link->dc->hwseq; 1217 1217 1218 1218 if (link->local_sink && link->local_sink->sink_signal == SIGNAL_TYPE_EDP) { 1219 - hws->funcs.edp_backlight_control(link, false); 1219 + if (!stream->skip_edp_power_down) 1220 + hws->funcs.edp_backlight_control(link, false); 1220 1221 link->dc->hwss.set_abm_immediate_disable(pipe_ctx); 1221 1222 } 1222 1223