drm/i915: Don't silently discard workarounds
authorDamien Lespiau <damien.lespiau@intel.com>
Sat, 30 Aug 2014 15:51:01 +0000 (16:51 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 10:39:03 +0000 (12:39 +0200)
commit04ad2dc7116347a4219b13935c7569ceaab95155
tree5dee034c63e5da9f8e14cb489147665daa1776c7
parent55820e1e840def3802fc366607f2b25e31036ab1
drm/i915: Don't silently discard workarounds

If we happen to emit more than I915_MAX_WA_REGS workarounds, we will
currently discard them, not even emit the LRI. Not really what we want,
so warn loudly.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c