build/patch/kernel/sun8i-default/0027-h3-hdmi-HDMI_EDID-from-loboris-initial-source-import.patch
2016-04-13 09:25:21 +02:00

37 lines
1.5 KiB
Diff

From 07ab28e466560a0a08351408085ab0e3cc3873e8 Mon Sep 17 00:00:00 2001
From: Yann Dirson <ydirson@o-computers.com>
Date: Thu, 14 Jan 2016 02:24:56 +0100
Subject: [PATCH 27/27] ? h3 hdmi: HDMI_EDID from loboris initial source import
---
drivers/video/sunxi/disp2/hdmi/aw/hdmi_core.c | 1 +
drivers/video/sunxi/disp2/hdmi/hdmi_hal.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/video/sunxi/disp2/hdmi/aw/hdmi_core.c b/drivers/video/sunxi/disp2/hdmi/aw/hdmi_core.c
index 3b3313e..d377eee 100755
--- a/drivers/video/sunxi/disp2/hdmi/aw/hdmi_core.c
+++ b/drivers/video/sunxi/disp2/hdmi/aw/hdmi_core.c
@@ -45,6 +45,7 @@ disp_video_timings video_timing[] =
{HDMI3840_2160P_30, 0,297000000, 0, 3840, 2160, 4400, 296, 176, 88, 2250, 72, 8, 10, 1, 1, 0, 0, 0},
{HDMI3840_2160P_25, 0,297000000, 0, 3840, 2160, 5280, 296, 1056, 88, 2250, 72, 8, 10, 1, 1, 0, 0, 0},
{HDMI800_480P, 0,27000000, 0, 800, 480, 1028, 88, 80, 60, 525, 29, 13, 3, 0, 0, 0, 0, 0},
+ { HDMI_EDID, },
};
static void hdmi_para_reset(void)
diff --git a/drivers/video/sunxi/disp2/hdmi/hdmi_hal.h b/drivers/video/sunxi/disp2/hdmi/hdmi_hal.h
index 9e47b6c..9074103 100755
--- a/drivers/video/sunxi/disp2/hdmi/hdmi_hal.h
+++ b/drivers/video/sunxi/disp2/hdmi/hdmi_hal.h
@@ -25,6 +25,7 @@
#define HDMI3840_2160P_24 (3+0x100)
#define HDMI_EDID_LEN 1024
+#define HDMI_EDID 511
extern void hdmi_delay_ms(__u32 t);
extern void hdmi_delay_us(unsigned long us);
--
1.9.1