diff options
author | Dave Airlie <airlied@redhat.com> | 2011-03-24 11:54:35 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-03-24 12:28:46 +0100 |
commit | 51eab416c9b4b3ed16553d405ec4a5f67daa34cf (patch) | |
tree | f883ecb336132b9b069744a2a7b4a30c7954bf39 /drivers/gpu | |
parent | drm radeon: Return -EINVAL on wrong pm sysfs access (diff) | |
download | linux-51eab416c9b4b3ed16553d405ec4a5f67daa34cf.tar.xz linux-51eab416c9b4b3ed16553d405ec4a5f67daa34cf.zip |
drm/vblank: update recently added vbl interface to be more future proof.
This makes the interface a bit cleaner by leaving a single gap in the
vblank bit space instead of creating two gaps.
Suggestions from Michel on mailing list/irc.
Reviewed-by: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c index 3617b4c4bb57..904d7e9c8e47 100644 --- a/drivers/gpu/drm/drm_ioctl.c +++ b/drivers/gpu/drm/drm_ioctl.c @@ -280,7 +280,7 @@ int drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv) if (dev->driver->dumb_create) req->value = 1; break; - case DRM_CAP_HIGH_CRTC: + case DRM_CAP_VBLANK_HIGH_CRTC: req->value = 1; break; default: |