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>
This commit is contained in:
Dave Airlie
2011-03-24 20:54:35 +10:00
parent 1783e4bf6f
commit 51eab416c9
2 changed files with 5 additions and 4 deletions

View File

@@ -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: