summaryrefslogtreecommitdiff
path: root/linux-core/nv50_connector.h
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-07-21 14:29:13 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-07-21 14:29:13 +0200
commitd00644c27ddc7023ea0e442c7be6b67d9d0da047 (patch)
tree2070bd02da5ac008bc8f9c70790722109f3ad94c /linux-core/nv50_connector.h
parent685bca02fe6b7406bb157a1a4e0f147b47ba28f8 (diff)
NV50: Do detect with hpd and load detect if possible.
- Appropriate error messages when an unknown situation is encountered are included. - Fallback to i2c will occur when needed.
Diffstat (limited to 'linux-core/nv50_connector.h')
-rw-r--r--linux-core/nv50_connector.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/nv50_connector.h b/linux-core/nv50_connector.h
index aac94457..fa7316e2 100644
--- a/linux-core/nv50_connector.h
+++ b/linux-core/nv50_connector.h
@@ -51,7 +51,8 @@ struct nv50_connector {
bool use_dithering;
- bool (*detect) (struct nv50_connector *connector);
+ int (*hpd_detect) (struct nv50_connector *connector);
+ int (*i2c_detect) (struct nv50_connector *connector);
int (*destroy) (struct nv50_connector *connector);
struct nv50_output *(*to_output) (struct nv50_connector *connector, bool digital);
};