aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0845-drm-amd-dal-fix-4th-display-cursor.patch
blob: 70dfde139f904124b7d544ac152acd064d30cfde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From 2eceb22c365683c61e6f407c26d44d433c5f0eeb Mon Sep 17 00:00:00 2001
From: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Date: Fri, 26 Feb 2016 14:06:45 -0500
Subject: [PATCH 0845/1110] drm/amd/dal: fix 4th display cursor

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/core/dc_target.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_target.c b/drivers/gpu/drm/amd/dal/dc/core/dc_target.c
index e892a2f..66aae5f 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc_target.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc_target.c
@@ -448,9 +448,6 @@ bool dc_target_set_cursor_attributes(
 			struct input_pixel_processor *ipp =
 						res_ctx->pipe_ctx[j].ipp;
 
-			if (j == DCE110_UNDERLAY_IDX)
-				continue;
-
 			if (res_ctx->pipe_ctx[j].stream !=
 				DC_STREAM_TO_CORE(target->public.streams[i]))
 				continue;
@@ -494,9 +491,6 @@ bool dc_target_set_cursor_position(
 			struct input_pixel_processor *ipp =
 						res_ctx->pipe_ctx[j].ipp;
 
-			if (j == DCE110_UNDERLAY_IDX)
-				continue;
-
 			if (res_ctx->pipe_ctx[j].stream !=
 				DC_STREAM_TO_CORE(target->public.streams[i]))
 				continue;
-- 
2.7.4