drm/amd/display: edp backlight regression fix
authorYue Hin Lau <Yuehin.Lau@amd.com>
Tue, 19 Sep 2017 15:35:23 +0000 (11:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:42:07 +0000 (16:42 -0400)
Signed-off-by: Yue Hin Lau <Yuehin.Lau@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>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c

index db6c19cd15eb18b4e86b6a5147360a4998b72b40..3e95f7f92c737a6325b1e5d1f97efecd6b6786fb 100644 (file)
@@ -68,5 +68,10 @@ void dce110_fill_display_configs(
 uint32_t dce110_get_min_vblank_time_us(const struct dc_state *context);
 
 void dp_receiver_power_ctrl(struct dc_link *link, bool on);
+
+void hwss_blacklight_control(
+       struct dc_link *link,
+       bool enable);
+
 #endif /* __DC_HWSS_DCE110_H__ */
 
index 82a985a981be2a37dfb5e4f289b931cf65f1530a..bf5c9243ba7ab2142dd4b63dafd54e7736320dac 100644 (file)
@@ -2897,6 +2897,7 @@ static const struct hw_sequencer_funcs dcn10_funcs = {
        .wait_for_mpcc_disconnect = dcn10_wait_for_mpcc_disconnect,
        .ready_shared_resources = ready_shared_resources,
        .optimize_shared_resources = optimize_shared_resources,
+       .backlight_control = hwss_blacklight_control
 };