All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] drm/i915: BUG() if fences are used on unsupported platform
@ 2012-12-18 18:31 Ben Widawsky
  2012-12-18 18:31 ` [PATCH 2/6] drm/i915: Bug on unsupported swizzled platforms Ben Widawsky
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Ben Widawsky @ 2012-12-18 18:31 UTC (permalink / raw)
  To: intel-gfx; +Cc: Ben Widawsky

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 drivers/gpu/drm/i915/i915_gem.c | 2 +-
 drivers/gpu/drm/i915/i915_irq.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index e4b233d..bf3b0c7 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -2639,7 +2639,7 @@ static void i915_gem_write_fence(struct drm_device *dev, int reg,
 	case 4: i965_write_fence_reg(dev, reg, obj); break;
 	case 3: i915_write_fence_reg(dev, reg, obj); break;
 	case 2: i830_write_fence_reg(dev, reg, obj); break;
-	default: break;
+	default: BUG();
 	}
 }
 
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 914ecf4..4ec8ff2 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -1106,6 +1106,8 @@ static void i915_gem_record_fences(struct drm_device *dev,
 			error->fence[i] = I915_READ(FENCE_REG_830_0 + (i * 4));
 		break;
 
+	default:
+		BUG();
 	}
 }
 
-- 
1.8.0.1

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-12-20 15:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18 18:31 [PATCH 1/6] drm/i915: BUG() if fences are used on unsupported platform Ben Widawsky
2012-12-18 18:31 ` [PATCH 2/6] drm/i915: Bug on unsupported swizzled platforms Ben Widawsky
2012-12-18 18:31 ` [PATCH 3/6] drm/i915: Missed conversion to gtt_pte_t Ben Widawsky
2012-12-18 21:34   ` Daniel Vetter
2012-12-18 18:31 ` [PATCH 4/6] drm/i915: Move even more gtt code to i915_gem_gtt Ben Widawsky
2012-12-20 11:22   ` Mika Kuoppala
2012-12-18 18:31 ` [PATCH 5/6] drm/i915: Move GSM mapping into dev_priv Ben Widawsky
2012-12-20 12:19   ` Mika Kuoppala
2012-12-18 18:31 ` [PATCH 6/6 v2] drm/i915: Make GSM void Ben Widawsky
2012-12-19 11:45   ` Ville Syrjälä
2012-12-19 19:20     ` Ben Widawsky
2012-12-20 15:33       ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.