diff mbox

[git,pull] drm fixes

Message ID AANLkTimLb4=04vOU7_SrtKpWQvFmDfibHGGsC+CFxwCW@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alex Riesen Feb. 24, 2011, 7:04 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 17bd766..8f8a6a3 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -764,7 +764,7 @@  static int i915_getparam(struct drm_device *dev, void *data,
 		break;
 	case I915_PARAM_HAS_RELAXED_FENCING:
 		value = 1;
-		break;
+		return -EINVAL;
 	case I915_PARAM_HAS_COHERENT_RINGS:
 		value = 1;
 		break;