]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 18 Apr 2019 10:06:34 +0000 (11:06 +0100)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 30 Apr 2019 07:16:18 +0000 (10:16 +0300)
commit3f849d52f35be8679fd2ba40843a46ff1e69c59f
tree10198b36a3e5dd91f2c828f8784ceb95b6ca0d3e
parent9bbd3f666645b9d30e3577791101b343f6395ace
drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1

WaEnableStateCacheRedirectToCS context workaround configures the L3 cache
to benefit 3d workloads but media has different requirements.

Remove the workaround and whitelist the register to allow any userspace
configure the behaviour to their liking.

v2:
 * Remove the workaround apart from adding the whitelist.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: kevin.ma@intel.com
Cc: xiaogang.li@intel.com
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Anuj Phogat <anuj.phogat@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190418100634.984-1-tvrtko.ursulin@linux.intel.com
Fixes: a155e9132eb0 ("drm/i915/icl: WaEnableStateCacheRedirectToCS")
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
[tursulin: Anuj reported no GPU hangs or performance regressions with old
 Mesa on patched kernel.]
(cherry picked from commit 0fc2273b9ab7f07cdef448e99525e481535e1ab0)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_workarounds.c