summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@jbarnes-mobile.amr.corp.intel.com>2007-06-14 11:32:31 -0700
committerJesse Barnes <jbarnes@jbarnes-mobile.amr.corp.intel.com>2007-06-14 11:32:31 -0700
commitb06268294afb47e62949984d73905344dd160262 (patch)
treea940aa9f4e2e9c55d4bc924176bad970958eee55 /shared-core/drm.h
parent1a4b9294a29379ea6e9fd6fb315317f391232d4b (diff)
Comment new vblank routines and fixup several issues:
- use correct refcount variable in get/put routines - extract counter update from drm_vblank_get - make signal handling callback per-crtc - update interrupt handling logic, drivers should use drm_handle_vblank - move wakeup and counter update logic to new drm_handle_vblank routine - fixup usage of get/put in light of counter update extraction - fix longstanding bug in signal code, update pending counter only *after* we're sure we'll setup signal handling
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 15081f92..3cd6d500 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -599,7 +599,7 @@ typedef enum {
*/
typedef struct drm_modeset_ctl {
drm_modeset_ctl_cmd_t cmd;
- unsigned long arg;
+ u64 arg;
} drm_modeset_ctl_t;
/**
@@ -968,7 +968,7 @@ typedef union drm_mm_init_arg{
#define DRM_IOCTL_UPDATE_DRAW DRM_IOW(0x3f, drm_update_draw_t)
-#define DRM_IOCTL_MODESET_CTL DRM_IOW(0x40, drm_modeset_ctl_t)
+#define DRM_IOCTL_MODESET_CTL DRM_IOW(0xa0, drm_modeset_ctl_t)
/*@}*/