projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eba7d1d
)
MLK-19227-4: HDMI: edid function is not supported by i.MX8QM A0 chip
author
Sandor Yu
<Sandor.yu@nxp.com>
Wed, 15 Aug 2018 09:57:45 +0000
(17:57 +0800)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000
(
02:51
+0300)
EDID function is not supported by i.MX8QM A0 SOC chip.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
(cherry picked from commit
6aeff3508919d584c6ce5661b14fadf3187298e7
)
drivers/gpu/drm/imx/hdp/imx-hdp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/imx/hdp/imx-hdp.c
b/drivers/gpu/drm/imx/hdp/imx-hdp.c
index
c009ab3
..
ca35db4
100644
(file)
--- a/
drivers/gpu/drm/imx/hdp/imx-hdp.c
+++ b/
drivers/gpu/drm/imx/hdp/imx-hdp.c
@@
-26,6
+26,8
@@
#include "imx-dp.h"
#include "../imx-drm.h"
+#define B0_SILICON_ID 0x11
+
struct drm_display_mode *g_mode;
static struct drm_display_mode edid_cea_modes[] = {
@@
-1245,6
+1247,10
@@
static int imx_hdp_imx_bind(struct device *dev, struct device *master,
hdp->no_edid = of_property_read_bool(pdev->dev.of_node, "fsl,no_edid");
+ /* EDID function is not supported by iMX8QM A0 */
+ if (cpu_is_imx8qm() && (imx8_get_soc_revision() < B0_SILICON_ID))
+ hdp->no_edid = true;
+
ret = of_property_read_u32(pdev->dev.of_node,
"lane_mapping",
&hdp->lane_mapping);