summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJerome Glisse <glisse@freedesktop.org>2008-10-27 19:33:56 +0100
committerJerome Glisse <glisse@freedesktop.org>2008-10-27 19:33:56 +0100
commit3b17b50e9c49ae113c7ad1c4a0af51e873de1a7e (patch)
treef583b8916eb28700600db5a3f40bf15594bf61c0 /linux-core
parent7617d1fef7b743349b470e4a62388174bbffb56b (diff)
parent389b7617b5b88b6270af5b3824fe73519900c87f (diff)
Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 2fefd1d2..2f80ec07 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -1448,9 +1448,9 @@ int drm_mode_cursor_ioctl(struct drm_device *dev,
}
mutex_lock(&dev->mode_config.mutex);
- obj = drm_mode_object_find(dev, req->crtc, DRM_MODE_OBJECT_CRTC);
+ obj = drm_mode_object_find(dev, req->crtc_id, DRM_MODE_OBJECT_CRTC);
if (!obj) {
- DRM_DEBUG("Unknown CRTC ID %d\n", req->crtc);
+ DRM_DEBUG("Unknown CRTC ID %d\n", req->crtc_id);
ret = -EINVAL;
goto out;
}