mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
Revert "drm/vc4: Force HDMI to connected."
Now that we have the HDMI HPD GPIOs correctly identified in the DT, we
should be able to successfully detect HDMI.
This reverts commit fbec01e2d1.
Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -166,8 +166,6 @@ 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_cansleep(vc4->hdmi->hpd_gpio) ^
|
if (gpio_get_value_cansleep(vc4->hdmi->hpd_gpio) ^
|
||||||
vc4->hdmi->hpd_active_low)
|
vc4->hdmi->hpd_active_low)
|
||||||
|
|||||||
Reference in New Issue
Block a user