From 78eca43d0391f59c3b1505bb7bd38ff45b650aab Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 16 Aug 2006 09:15:51 +1000 Subject: [PATCH] drm: fix i965 build bug Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie --- drivers/char/drm/i915_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/drm/i915_dma.c b/drivers/char/drm/i915_dma.c index 99e9d07409e..d932f80f264 100644 --- a/drivers/char/drm/i915_dma.c +++ b/drivers/char/drm/i915_dma.c @@ -404,7 +404,7 @@ static int i915_emit_box(drm_device_t * dev, BEGIN_LP_RING(4); OUT_RING(GFX_OP_DRAWRECT_INFO_I965); OUT_RING((box.x1 & 0xffff) | (box.y1 << 16)); - OUT_RING(((box.x2 - 1) & 0xffff) ((box.y2 - 1) << 16)); + OUT_RING(((box.x2 - 1) & 0xffff) | ((box.y2 - 1) << 16)); OUT_RING(DR4); ADVANCE_LP_RING(); } else { -- 2.32.0.93.g670b81a890