Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322162
b: refs/heads/master
c: f5869a8
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Dave Airlie committed Aug 21, 2012
1 parent 2d016c5 commit 209651f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 85119c16b34526b2b3c33b01ac6d770aa4431434
refs/heads/master: f5869a8308f77e3dfdc2e3640842b285aa788ff8
6 changes: 5 additions & 1 deletion trunk/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
Original file line number Diff line number Diff line change
Expand Up @@ -1688,15 +1688,19 @@ int vmw_du_page_flip(struct drm_crtc *crtc,
struct vmw_private *dev_priv = vmw_priv(crtc->dev);
struct drm_framebuffer *old_fb = crtc->fb;
struct vmw_framebuffer *vfb = vmw_framebuffer_to_vfb(fb);
struct drm_file *file_priv = event->base.file_priv;
struct drm_file *file_priv ;
struct vmw_fence_obj *fence = NULL;
struct drm_clip_rect clips;
int ret;

if (event == NULL)
return -EINVAL;

/* require ScreenObject support for page flipping */
if (!dev_priv->sou_priv)
return -ENOSYS;

file_priv = event->base.file_priv;
if (!vmw_kms_screen_object_flippable(dev_priv, crtc))
return -EINVAL;

Expand Down

0 comments on commit 209651f

Please sign in to comment.