Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH] drm/i915/oa: Disable OA on Haswell
@ 2018-05-11 13:56 Chris Wilson
  2018-05-11 14:14 ` Lionel Landwerlin
  0 siblings, 1 reply; 12+ messages in thread
From: Chris Wilson @ 2018-05-11 13:56 UTC (permalink / raw)
  To: intel-gfx
  Cc: Chris Wilson, Lionel Landwerlin, Matthew Auld, Joonas Lahtinen,
	Rodrigo Vivi, Jani Nikula, stable

We observe that the OA architecture is clobbering random memory. Disable
it until this can be resolved.

References: https://bugs.freedesktop.org/show_bug.cgi?id=106379
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: stable@vger.kernel.org
---
 drivers/gpu/drm/i915/i915_perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c
index 019bd2d073ad..20187f3bf350 100644
--- a/drivers/gpu/drm/i915/i915_perf.c
+++ b/drivers/gpu/drm/i915/i915_perf.c
@@ -3425,7 +3425,7 @@ static struct ctl_table dev_root[] = {
  */
 void i915_perf_init(struct drm_i915_private *dev_priv)
 {
-	if (IS_HASWELL(dev_priv)) {
+	if (IS_HASWELL(dev_priv) && 0) {
 		dev_priv->perf.oa.ops.is_valid_b_counter_reg =
 			gen7_is_valid_b_counter_addr;
 		dev_priv->perf.oa.ops.is_valid_mux_reg =
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-05-14  7:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-11 13:56 [PATCH] drm/i915/oa: Disable OA on Haswell Chris Wilson
2018-05-11 14:14 ` Lionel Landwerlin
2018-05-11 14:18   ` Chris Wilson
2018-05-11 14:28     ` Lionel Landwerlin
2018-05-11 14:34       ` Chris Wilson
2018-05-11 14:37         ` Lionel Landwerlin
2018-05-11 15:43     ` Lionel Landwerlin
2018-05-11 15:51       ` Chris Wilson
2018-05-11 15:58         ` Lionel Landwerlin
2018-05-11 16:07           ` Chris Wilson
     [not found]         ` <b247a2ad-16e1-dfb3-b784-7dd74f2aeb43@intel.com>
2018-05-11 18:14           ` Chris Wilson
2018-05-14  7:44       ` Chris Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox