aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0547-drm-amd-dal-fix-bug-in-edid_read.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0547-drm-amd-dal-fix-bug-in-edid_read.patch')
-rw-r--r--common/recipes-kernel/linux/files/0547-drm-amd-dal-fix-bug-in-edid_read.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0547-drm-amd-dal-fix-bug-in-edid_read.patch b/common/recipes-kernel/linux/files/0547-drm-amd-dal-fix-bug-in-edid_read.patch
new file mode 100644
index 00000000..425098eb
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0547-drm-amd-dal-fix-bug-in-edid_read.patch
@@ -0,0 +1,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
+