aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0854-drm-amd-dal-fix-bug-in-edid_read-break-window-usage.patch
blob: a000347b87111593f6124b18387528e25968be3d (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
From 386b269cd65d398ad7ace1b2aba5065caeefb068 Mon Sep 17 00:00:00 2001
From: Hersen Wu <hersenxs.wu@amd.com>
Date: Tue, 1 Dec 2015 10:34:54 -0500
Subject: [PATCH 0854/1050] drm/amd/dal: fix bug in edid_read break window
 usage

Change-Id: Ibd5f7392b019de98ea664edf5d1ccc0f9a99bf74
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/core/dc_link.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
index ba087b3..bffd561 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
@@ -385,7 +385,7 @@ static enum dc_edid_status read_edid(
 		dal_ddc_service_get_edid_buf(link->ddc,
 				sink->public.dc_edid.raw_edid);
 		edid_status = dc_helpers_parse_edid_caps(
-				NULL,
+				sink->ctx,
 				&sink->public.dc_edid,
 				&sink->public.edid_caps);
 		--edid_retry;
-- 
1.9.1