Message ID | 1366764115-472-1-git-send-email-airlied@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index dd64a06..490d57a 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -3829,6 +3829,9 @@ int drm_mode_create_dumb_ioctl(struct drm_device *dev, if (!dev->driver->dumb_create) return -ENOSYS; + /* kernel doesn't understand any flags yet */ + if (args->flags) + return -EINVAL; return dev->driver->dumb_create(file_priv, dev, args); }