diff options
author | Jesse Barnes <jesse.barnes@intel.com> | 2007-09-28 10:10:08 -0700 |
---|---|---|
committer | Jesse Barnes <jesse.barnes@intel.com> | 2007-09-28 10:10:08 -0700 |
commit | 0bb2395a8be0c33cc687dfd6aae7df81a82ed8e5 (patch) | |
tree | 76199f7336b42483af52a13a83b09e875166a9c4 /shared-core/i915_dma.c | |
parent | 24cdd2f8c494573e1f84a752ae4eccec8890347a (diff) |
Revert drm_i915_flip_t braindamage
I should not have renamed this field.
I should not have renamed this field.
I should not have renamed this field.
On the plus side, it was at least binary compatible.
Diffstat (limited to 'shared-core/i915_dma.c')
-rw-r--r-- | shared-core/i915_dma.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index daa03df8..3a9ecab2 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -755,13 +755,14 @@ static int i915_flip_bufs(struct drm_device *dev, void *data, struct drm_file *f LOCK_TEST_WITH_RETURN(dev, file_priv); - if (param->planes & ~0x3) { + /* This is really planes */ + if (param->pipes & ~0x3) { DRM_ERROR("Invalid planes 0x%x, only <= 0x3 is valid\n", - param->planes); + param->pipes); return -EINVAL; } - i915_dispatch_flip(dev, param->planes, 0); + i915_dispatch_flip(dev, param->pipes, 0); return 0; } |