diff options
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1027-drm-amd-display-add-backlight-control-in-blankstream.patch')
-rw-r--r-- | meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1027-drm-amd-display-add-backlight-control-in-blankstream.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1027-drm-amd-display-add-backlight-control-in-blankstream.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1027-drm-amd-display-add-backlight-control-in-blankstream.patch deleted file mode 100644 index dcec9b89..00000000 --- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1027-drm-amd-display-add-backlight-control-in-blankstream.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 84cbfa00f9bf9513d8f003a412beb6f132bd7e85 Mon Sep 17 00:00:00 2001 -From: Charlene Liu <charlene.liu@amd.com> -Date: Mon, 28 Aug 2017 19:35:25 -0400 -Subject: [PATCH 1027/4131] drm/amd/display: add backlight control in - blankstream. - -Change-Id: I17ff8fe4b031dae5428f8267ec3eb280f79fbbb4 -Signed-off-by: Charlene Liu <charlene.liu@amd.com> -Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> -Acked-by: Harry Wentland <Harry.Wentland@amd.com> ---- - drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c -index 1e3ec04..b8043bd 100644 ---- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c -+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c -@@ -778,9 +778,11 @@ void dce110_disable_stream(struct pipe_ctx *pipe_ctx) - - - /* blank at encoder level */ -- if (dc_is_dp_signal(pipe_ctx->stream->signal)) -+ if (dc_is_dp_signal(pipe_ctx->stream->signal)) { -+ if (pipe_ctx->stream->sink->link->connector_signal == SIGNAL_TYPE_EDP) -+ link->link_enc->funcs->backlight_control(link->link_enc, false); - pipe_ctx->stream_res.stream_enc->funcs->dp_blank(pipe_ctx->stream_res.stream_enc); -- -+ } - link->link_enc->funcs->connect_dig_be_to_fe( - link->link_enc, - pipe_ctx->stream_res.stream_enc->id, -@@ -792,12 +794,15 @@ void dce110_unblank_stream(struct pipe_ctx *pipe_ctx, - struct dc_link_settings *link_settings) - { - struct encoder_unblank_param params = { { 0 } }; -+ struct dc_link *link = pipe_ctx->stream->sink->link; - - /* only 3 items below are used by unblank */ - params.pixel_clk_khz = - pipe_ctx->stream->timing.pix_clk_khz; - params.link_settings.link_rate = link_settings->link_rate; - pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(pipe_ctx->stream_res.stream_enc, ¶ms); -+ if (link->connector_signal == SIGNAL_TYPE_EDP) -+ link->link_enc->funcs->backlight_control(link->link_enc, true); - } - - --- -2.7.4 - |