2017-02-06 16:12:09 +00:00
|
|
|
From 9fa2b9ffdec7f13704a7980adeb0fc0ccb2b21a9 Mon Sep 17 00:00:00 2001
|
2016-01-17 10:42:23 +00:00
|
|
|
From: Eric Anholt <eric@anholt.net>
|
|
|
|
Date: Wed, 14 Oct 2015 11:32:14 -0700
|
2016-09-10 12:54:26 +00:00
|
|
|
Subject: [PATCH] drm/vc4: Force HDMI to connected.
|
2016-01-17 10:42:23 +00:00
|
|
|
|
|
|
|
For some reason on the downstream tree, the HPD GPIO isn't working.
|
|
|
|
|
|
|
|
Signed-off-by: Eric Anholt <eric@anholt.net>
|
|
|
|
---
|
|
|
|
drivers/gpu/drm/vc4/vc4_hdmi.c | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hdmi.c
|
|
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
|
|
|
|
@@ -164,6 +164,8 @@ vc4_hdmi_connector_detect(struct drm_con
|
|
|
|
struct drm_device *dev = connector->dev;
|
|
|
|
struct vc4_dev *vc4 = to_vc4_dev(dev);
|
|
|
|
|
|
|
|
+ return connector_status_connected;
|
|
|
|
+
|
|
|
|
if (vc4->hdmi->hpd_gpio) {
|
|
|
|
if (gpio_get_value(vc4->hdmi->hpd_gpio))
|
|
|
|
return connector_status_connected;
|