mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
drm/vc4: Force HDMI to connected.
For some reason on the downstream tree, the HPD GPIO isn't working. Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -164,6 +164,8 @@ vc4_hdmi_connector_detect(struct drm_connector *connector, bool force)
|
|||||||
struct drm_device *dev = connector->dev;
|
struct drm_device *dev = connector->dev;
|
||||||
struct vc4_dev *vc4 = to_vc4_dev(dev);
|
struct vc4_dev *vc4 = to_vc4_dev(dev);
|
||||||
|
|
||||||
|
return connector_status_connected;
|
||||||
|
|
||||||
if (vc4->hdmi->hpd_gpio) {
|
if (vc4->hdmi->hpd_gpio) {
|
||||||
if (gpio_get_value(vc4->hdmi->hpd_gpio))
|
if (gpio_get_value(vc4->hdmi->hpd_gpio))
|
||||||
return connector_status_connected;
|
return connector_status_connected;
|
||||||
|
|||||||
Reference in New Issue
Block a user