aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0765-drm-amd-dal-only-poll-for-ACT-when-needed.patch
diff options
context:
space:
mode:
authorWade Farnsworth <wfarnsworth@users.noreply.github.com>2019-10-22 08:08:07 -0700
committerGitHub <noreply@github.com>2019-10-22 08:08:07 -0700
commit8e0cf9ee43840bd7ee004412129ba4aa055f5fc8 (patch)
treeb13804093e413307097cd6788ccdc8b062084013 /common/recipes-kernel/linux/files/0765-drm-amd-dal-only-poll-for-ACT-when-needed.patch
parent9e1e1da00d8ef569d83a7a742a734dbbf5e0bd13 (diff)
parent3f8062a03dc1d1d5fa386e1f1ca59d56b86a85d1 (diff)
downloadmeta-amd-master.tar.gz
meta-amd-master.tar.bz2
meta-amd-master.zip
Merge pull request #661 from ArsalanHAwan/master-merge-warriorHEADmaster
master: merge warrior
Diffstat (limited to 'common/recipes-kernel/linux/files/0765-drm-amd-dal-only-poll-for-ACT-when-needed.patch')
-rw-r--r--common/recipes-kernel/linux/files/0765-drm-amd-dal-only-poll-for-ACT-when-needed.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/common/recipes-kernel/linux/files/0765-drm-amd-dal-only-poll-for-ACT-when-needed.patch b/common/recipes-kernel/linux/files/0765-drm-amd-dal-only-poll-for-ACT-when-needed.patch
deleted file mode 100644
index 23a9f4b0..00000000
--- a/common/recipes-kernel/linux/files/0765-drm-amd-dal-only-poll-for-ACT-when-needed.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 7157a789df9f56b32ee4591bb6a07f4740d2c662 Mon Sep 17 00:00:00 2001
-From: Mykola Lysenko <Mykola.Lysenko@amd.com>
-Date: Wed, 3 Feb 2016 17:09:35 -0500
-Subject: [PATCH 0765/1110] drm/amd/dal: only poll for ACT when needed
-
-Should not poll for ACT change state when nothing
-changed actually, because ACT will not change
-
-Signed-off-by: Mykola Lysenko <Mykola.Lysenko@amd.com>
-Acked-by: Jordan Lazare <Jordan.Lazare@amd.com>
----
- drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
-index 71fa7b1..2a92cfd 100644
---- a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
-+++ b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
-@@ -753,6 +753,8 @@ static enum dc_status apply_single_controller_ctx_to_hw(uint8_t controller_idx,
- {
- struct core_stream *stream =
- context->res_ctx.controller_ctx[controller_idx].stream;
-+ struct core_stream *old_stream =
-+ dc->current_context.res_ctx.controller_ctx[controller_idx].stream;
- struct output_pixel_processor *opp =
- context->res_ctx.pool.opps[controller_idx];
- bool timing_changed = context->res_ctx.controller_ctx[controller_idx]
-@@ -765,7 +767,13 @@ static enum dc_status apply_single_controller_ctx_to_hw(uint8_t controller_idx,
- */
- stream->tg->funcs->set_blank(stream->tg, true);
-
-- core_link_disable_stream(stream->sink->link, stream);
-+ /*
-+ * only disable stream in case it was ever enabled
-+ */
-+ if (old_stream)
-+ core_link_disable_stream(
-+ old_stream->sink->link,
-+ old_stream);
-
- /*TODO: AUTO check if timing changed*/
- if (false == stream->clock_source->funcs->program_pix_clk(
---
-2.7.4
-