[Intel-gfx] [PATCH 02/12] drm/i915: Raise the amount of workarounds one list has

Mika Kuoppala mika.kuoppala at linux.intel.com
Tue Oct 6 07:26:43 PDT 2015


As we move towards of adding mmio register setup to
use workaround list, raise the maximum amount of available
registers in list.

Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index aa38d1e..1883847 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1669,7 +1669,7 @@ struct i915_wa_reg {
 	u32 mask;
 };
 
-#define I915_MAX_WA_REGS 16
+#define I915_MAX_WA_REGS 32
 
 struct i915_workarounds {
 	struct i915_wa_reg reg[I915_MAX_WA_REGS];
-- 
2.1.4



More information about the Intel-gfx mailing list