0091-drm-vc4-Force-HDMI-to-connected.patch 768 B

1234567891011121314151617181920212223
  1. From 92de07785e3ece5672448a5efa7b3b45957059f6 Mon Sep 17 00:00:00 2001
  2. From: Eric Anholt <eric@anholt.net>
  3. Date: Wed, 14 Oct 2015 11:32:14 -0700
  4. Subject: [PATCH 091/381] drm/vc4: Force HDMI to connected.
  5. For some reason on the downstream tree, the HPD GPIO isn't working.
  6. Signed-off-by: Eric Anholt <eric@anholt.net>
  7. ---
  8. drivers/gpu/drm/vc4/vc4_hdmi.c | 2 ++
  9. 1 file changed, 2 insertions(+)
  10. --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
  11. +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
  12. @@ -164,6 +164,8 @@ vc4_hdmi_connector_detect(struct drm_con
  13. struct drm_device *dev = connector->dev;
  14. struct vc4_dev *vc4 = to_vc4_dev(dev);
  15. + return connector_status_connected;
  16. +
  17. if (vc4->hdmi->hpd_gpio) {
  18. if (gpio_get_value(vc4->hdmi->hpd_gpio))
  19. return connector_status_connected;