summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_connector.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-05-30 12:49:17 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-06-11 16:10:37 +1000
commit456b0579fb0af095c24fa9e5867bd3983b842b1a (patch)
tree316f7d6b5ba99db66b277fab9f08e99d30fb6b48 /drivers/gpu/drm/nouveau/nouveau_connector.h
parent7a014a872914a6bb5af8b67eba603f8546794ab9 (diff)
downloadop-kernel-dev-456b0579fb0af095c24fa9e5867bd3983b842b1a.zip
op-kernel-dev-456b0579fb0af095c24fa9e5867bd3983b842b1a.tar.gz
drm/nouveau: use connector events for HPD instead of GPIO watching
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_connector.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_connector.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.h b/drivers/gpu/drm/nouveau/nouveau_connector.h
index 264a778..7e7682d 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.h
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.h
@@ -33,7 +33,6 @@
#include <core/event.h>
#include <subdev/bios.h>
-#include <subdev/bios/gpio.h>
struct nouveau_i2c_port;
@@ -67,9 +66,9 @@ struct nouveau_connector {
u8 index;
u8 *dcb;
- struct dcb_gpio_func hpd;
- struct work_struct hpd_work;
- struct nouveau_eventh *hpd_func;
+ struct nouveau_eventh *hpd;
+ u32 status;
+ struct work_struct work;
int dithering_mode;
int dithering_depth;
OpenPOWER on IntegriCloud