diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2485-drm-amd-display-edp-backlight-regression-fix.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2485-drm-amd-display-edp-backlight-regression-fix.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2485-drm-amd-display-edp-backlight-regression-fix.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2485-drm-amd-display-edp-backlight-regression-fix.patch new file mode 100644 index 00000000..12090bee --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2485-drm-amd-display-edp-backlight-regression-fix.patch @@ -0,0 +1,43 @@ +From 2eb0a18fa7d753a85eddd8324ebe8cd9bbab104e Mon Sep 17 00:00:00 2001 +From: Yue Hin Lau <Yuehin.Lau@amd.com> +Date: Tue, 19 Sep 2017 11:35:23 -0400 +Subject: [PATCH 2485/4131] drm/amd/display: edp backlight regression fix + +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> +--- + drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h | 5 +++++ + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 1 + + 2 files changed, 6 insertions(+) + +diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h +index db6c19c..3e95f7f 100644 +--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h ++++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h +@@ -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__ */ + +diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +index 82a985a..bf5c924 100644 +--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c ++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +@@ -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 + }; + + +-- +2.7.4 + |