aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0547-drm-amd-dal-fix-bug-in-edid_read.patch
blob: 425098eb147bdf38f9a70c1c871a7837a641f076 (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
From 8893b256a1de567711249ec1a11d32776e7cefd0 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 0547/1110] drm/amd/dal: fix bug in edid_read

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;
-- 
2.7.4