drm/i915: Enable WA batch buffers for Gen9
authorArun Siluvery <arun.siluvery@linux.intel.com>
Tue, 14 Jul 2015 14:01:27 +0000 (15:01 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 15 Jul 2015 12:30:02 +0000 (14:30 +0200)
commit0504cffc7b128dc4bd751821abe7c47203d7bd62
treed5db0f1067227b0d13d7b65f6f514b3a1d627bab
parent6381b55016ec76f18cbc8685ca0774dd4584651b
drm/i915: Enable WA batch buffers for Gen9

This patch only enables support for Gen9, the actual WA will be
initialized in subsequent patches.

The WARN that we use to warn user if WA batch support is not available
for a particular Gen is replaced with DRM_ERROR as warning here doesn't
really add much value.

v2: include all infrastructure bits in this patch so that subsequent
changes only correspond the WA added (Chris)

v3: use updated macro.

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c