OSDN Git Service

drm/i915/gen9: Add WaDisableGatherAtSetShaderCommonSlice
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Wed, 20 Jul 2016 11:26:13 +0000 (14:26 +0300)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 20 Jul 2016 13:10:20 +0000 (16:10 +0300)
commit873e8171aebe9e633734cef18e04c64e4715a9a4
tree13aa4bea3956cc1234fed66b95a4480126df3e48
parent4ba9c1f7c7b8ca8c1d77f65d408e589dc87b9a2d
drm/i915/gen9: Add WaDisableGatherAtSetShaderCommonSlice

Add WaDisableGatherAtSetShaderCommonSlice for all gen9 as stated
by bspec. The bspec told to put this workaround to the per ctx bb.
Initial implementation and subsequent review were done based on
bspec. Arun raised a suspicion that this would belong to indirect bb
instead and he conducted more throughout investigation on the matter
and indeed the documentation was wrong.

v2: Move to indirect_ctx wa bb, as it is correct place (Arun)

References: HSD#2135817
Cc: Arun Siluvery <arun.siluvery@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com> (v1)
Reviewed-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1469013973-24104-1-git-send-email-mika.kuoppala@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_lrc.c