diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-02-02 21:56:16 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-02-20 01:00:50 -0500 |
commit | 4f47643dbb4c345c5beebe53588682a7ff2c872a (patch) | |
tree | 824b98893e562bedab63d6987c1d248332b45f3f /drivers/gpu/drm/nouveau/nouveau_connector.h | |
parent | 0f0800661a125ddb038462570c869fe6f8ab5737 (diff) |
drm/nouveau/gpio: use event interfaces for interrupt signalling
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.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.h b/drivers/gpu/drm/nouveau/nouveau_connector.h index f37250c8469d..6e399aad491a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.h +++ b/drivers/gpu/drm/nouveau/nouveau_connector.h | |||
@@ -30,6 +30,8 @@ | |||
30 | #include <drm/drm_edid.h> | 30 | #include <drm/drm_edid.h> |
31 | #include "nouveau_crtc.h" | 31 | #include "nouveau_crtc.h" |
32 | 32 | ||
33 | #include <core/event.h> | ||
34 | |||
33 | #include <subdev/bios.h> | 35 | #include <subdev/bios.h> |
34 | #include <subdev/bios/gpio.h> | 36 | #include <subdev/bios/gpio.h> |
35 | 37 | ||
@@ -62,10 +64,13 @@ enum nouveau_dithering_depth { | |||
62 | struct nouveau_connector { | 64 | struct nouveau_connector { |
63 | struct drm_connector base; | 65 | struct drm_connector base; |
64 | enum dcb_connector_type type; | 66 | enum dcb_connector_type type; |
65 | struct dcb_gpio_func hpd; | ||
66 | u8 index; | 67 | u8 index; |
67 | u8 *dcb; | 68 | u8 *dcb; |
68 | 69 | ||
70 | struct dcb_gpio_func hpd; | ||
71 | struct work_struct hpd_work; | ||
72 | struct nouveau_eventh hpd_func; | ||
73 | |||
69 | int dithering_mode; | 74 | int dithering_mode; |
70 | int dithering_depth; | 75 | int dithering_depth; |
71 | int scaling_mode; | 76 | int scaling_mode; |