0331-Revert-drm-vc4-Force-HDMI-to-connected.patch 890 B

1234567891011121314151617181920212223242526
  1. From 98d4a368d5cfb455ed91cf4dbdef16be4fc25349 Mon Sep 17 00:00:00 2001
  2. From: Eric Anholt <eric@anholt.net>
  3. Date: Fri, 6 May 2016 12:43:25 -0700
  4. Subject: [PATCH 331/381] Revert "drm/vc4: Force HDMI to connected."
  5. Now that we have the HDMI HPD GPIOs correctly identified in the DT, we
  6. should be able to successfully detect HDMI.
  7. This reverts commit fbec01e2d17b924d91850e17eeecf975e74c9ebf.
  8. Signed-off-by: Eric Anholt <eric@anholt.net>
  9. ---
  10. drivers/gpu/drm/vc4/vc4_hdmi.c | 2 --
  11. 1 file changed, 2 deletions(-)
  12. --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
  13. +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
  14. @@ -166,8 +166,6 @@ vc4_hdmi_connector_detect(struct drm_con
  15. struct drm_device *dev = connector->dev;
  16. struct vc4_dev *vc4 = to_vc4_dev(dev);
  17. - return connector_status_connected;
  18. -
  19. if (vc4->hdmi->hpd_gpio) {
  20. if (gpio_get_value_cansleep(vc4->hdmi->hpd_gpio) ^
  21. vc4->hdmi->hpd_active_low)