diff options
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 4fe321dc900c..4a7bbdbedfc2 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c | |||
@@ -256,7 +256,8 @@ static void drm_mode_object_put(struct drm_device *dev, | |||
256 | mutex_unlock(&dev->mode_config.idr_mutex); | 256 | mutex_unlock(&dev->mode_config.idr_mutex); |
257 | } | 257 | } |
258 | 258 | ||
259 | void *drm_mode_object_find(struct drm_device *dev, uint32_t id, uint32_t type) | 259 | struct drm_mode_object *drm_mode_object_find(struct drm_device *dev, |
260 | uint32_t id, uint32_t type) | ||
260 | { | 261 | { |
261 | struct drm_mode_object *obj = NULL; | 262 | struct drm_mode_object *obj = NULL; |
262 | 263 | ||
@@ -2630,7 +2631,7 @@ int drm_mode_page_flip_ioctl(struct drm_device *dev, | |||
2630 | goto out; | 2631 | goto out; |
2631 | } | 2632 | } |
2632 | 2633 | ||
2633 | e->event.base.type = DRM_EVENT_VBLANK; | 2634 | e->event.base.type = DRM_EVENT_FLIP_COMPLETE; |
2634 | e->event.base.length = sizeof e->event; | 2635 | e->event.base.length = sizeof e->event; |
2635 | e->event.user_data = page_flip->user_data; | 2636 | e->event.user_data = page_flip->user_data; |
2636 | e->base.event = &e->event.base; | 2637 | e->base.event = &e->event.base; |