summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b45fe49)
raw | patch | inline | side by side (parent: b45fe49)
author | Jesse Barnes <jbarnes@hobbes.(none)> | |
Sun, 27 Apr 2008 16:42:17 +0000 (09:42 -0700) | ||
committer | Jesse Barnes <jbarnes@hobbes.(none)> | |
Sun, 27 Apr 2008 16:42:17 +0000 (09:42 -0700) |
Make both crtc and the command argument 32 bits to avoid any 32-on-64 compat
issues.
issues.
linux-core/drm_irq.c | patch | blob | history | |
shared-core/drm.h | patch | blob | history |
diff --git a/linux-core/drm_irq.c b/linux-core/drm_irq.c
index 592ea2adb80dfbf8d65a9f3effc4285b2f4af484..8f27d7f308535ce4a94b097f77f950edbf4f1300 100644 (file)
--- a/linux-core/drm_irq.c
+++ b/linux-core/drm_irq.c
int crtc, ret = 0;
u32 new;
- crtc = modeset->arg;
+ crtc = modeset->crtc;
if (crtc >= dev->num_crtcs) {
ret = -EINVAL;
goto out;
diff --git a/shared-core/drm.h b/shared-core/drm.h
index da149dca4dd5418fa252591fde0c629931c0dcf0..52b01cd12bd4aeb485dad3fc8f2ff545e3820f79 100644 (file)
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
* \sa drmModesetCtl().
*/
struct drm_modeset_ctl {
- unsigned long arg;
- int cmd;
+ uint32_t crtc;
+ uint32_t cmd;
};
/**