All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] drm/i915/guc: Use _FW variants for mmio access in GuC irq handler
@ 2018-03-23 12:34 Michał Winiarski
  2018-03-23 12:34 ` [PATCH 2/8] drm/i915/guc: Move FW size sanity check back to fetch Michał Winiarski
                   ` (11 more replies)
  0 siblings, 12 replies; 21+ messages in thread
From: Michał Winiarski @ 2018-03-23 12:34 UTC (permalink / raw)
  To: intel-gfx

We're seeing "RPM wakelock ref not held during HW access" warning
otherwise. And since IRQ are synced for runtime suspend, we can use the
variant without wakeref assert.

Reported-by: Marta Löfstedt <marta.lofstedt@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105710
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Marta Löfstedt <marta.lofstedt@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
 drivers/gpu/drm/i915/intel_guc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_guc.c b/drivers/gpu/drm/i915/intel_guc.c
index 8f93f5bef8fd..6787a3116783 100644
--- a/drivers/gpu/drm/i915/intel_guc.c
+++ b/drivers/gpu/drm/i915/intel_guc.c
@@ -391,9 +391,9 @@ void intel_guc_to_host_event_handler(struct intel_guc *guc)
 	 * clears out the bit on handling the 1st interrupt.
 	 */
 	spin_lock(&guc->irq_lock);
-	val = I915_READ(SOFT_SCRATCH(15));
+	val = I915_READ_FW(SOFT_SCRATCH(15));
 	msg = val & guc->msg_enabled_mask;
-	I915_WRITE(SOFT_SCRATCH(15), val & ~msg);
+	I915_WRITE_FW(SOFT_SCRATCH(15), val & ~msg);
 	spin_unlock(&guc->irq_lock);
 
 	if (msg & (INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER |
-- 
2.14.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2018-04-03  1:03 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-23 12:34 [PATCH 1/8] drm/i915/guc: Use _FW variants for mmio access in GuC irq handler Michał Winiarski
2018-03-23 12:34 ` [PATCH 2/8] drm/i915/guc: Move FW size sanity check back to fetch Michał Winiarski
2018-03-23 12:34 ` [PATCH 3/8] drm/i915/guc: Extend the GEN9 WOPCM HW restrictions to early CNL Michał Winiarski
2018-03-23 18:41   ` Daniele Ceraolo Spurio
2018-03-23 12:34 ` [PATCH 4/8] drm/i915/guc: Separate WOPCM partitioning from constraints check Michał Winiarski
2018-03-23 19:30   ` Yaodong Li
2018-03-23 12:34 ` [PATCH 5/8] drm/i915/guc: Use GuC FW size and HW restrictions to determine WOPCM partition Michał Winiarski
2018-03-23 20:00   ` Yaodong Li
2018-03-26 10:04     ` Michał Winiarski
2018-04-03  1:00       ` Yaodong Li
2018-03-23 12:34 ` [PATCH 6/8] drm/i915/guc: Don't give up on WOPCM partitioning regs mismatch Michał Winiarski
2018-03-23 12:34 ` [PATCH 7/8] drm/i915/guc: Don't touch WOPCM if we're not using GuC Michał Winiarski
2018-03-23 22:08   ` Yaodong Li
2018-03-23 12:34 ` [PATCH 8/8] HAX enable guc for CI Michał Winiarski
2018-03-23 16:03 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/8] drm/i915/guc: Use _FW variants for mmio access in GuC irq handler Patchwork
2018-03-23 16:04 ` ✗ Fi.CI.SPARSE: " Patchwork
2018-03-23 16:18 ` ✗ Fi.CI.BAT: failure " Patchwork
2018-03-23 17:17 ` [PATCH 1/8] " Daniele Ceraolo Spurio
2018-03-28 13:51   ` Joonas Lahtinen
2018-03-28 16:56     ` Michał Winiarski
2018-03-28 12:50 ` Joonas Lahtinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.