Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358151
b: refs/heads/master
c: 03f6509
h: refs/heads/master
i:
  358149: 2244162
  358147: d7eb6a3
  358143: 8a426b6
v: v3
  • Loading branch information
Thierry Reding authored and Dave Airlie committed Feb 8, 2013
1 parent d2737ac commit 9e982bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 1e6d17a5df848cf8e483b689c6295776e9d6d997
refs/heads/master: 03f6509df9218c760ae74f41a609233220d33f19
5 changes: 3 additions & 2 deletions trunk/drivers/gpu/drm/drm_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1218,8 +1218,9 @@ int drm_wait_vblank(struct drm_device *dev, void *data,
int ret;
unsigned int flags, seq, crtc, high_crtc;

if ((!drm_dev_to_irq(dev)) || (!dev->irq_enabled))
return -EINVAL;
if (drm_core_check_feature(dev, DRIVER_HAVE_IRQ))
if ((!drm_dev_to_irq(dev)) || (!dev->irq_enabled))
return -EINVAL;

if (vblwait->request.type & _DRM_VBLANK_SIGNAL)
return -EINVAL;
Expand Down

0 comments on commit 9e982bb

Please sign in to comment.