mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
drm/nv50: enable hpd on any connector we know the gpio line for
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
7f612d87f8
commit
1157563931
|
|
@ -370,9 +370,7 @@ nv50_display_init(struct drm_device *dev)
|
|||
struct nouveau_connector *conn = nouveau_connector(connector);
|
||||
struct dcb_gpio_entry *gpio;
|
||||
|
||||
if (connector->connector_type != DRM_MODE_CONNECTOR_DVII &&
|
||||
connector->connector_type != DRM_MODE_CONNECTOR_DVID &&
|
||||
connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort)
|
||||
if (conn->dcb->gpio_tag == 0xff)
|
||||
continue;
|
||||
|
||||
gpio = nouveau_bios_gpio_entry(dev, conn->dcb->gpio_tag);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user