[Intel-gfx] [PATCH 3/3] drm/i915: Do only one posting read on forcewake get sequence
Mika Kuoppala
mika.kuoppala at linux.intel.com
Wed Jan 28 04:43:26 PST 2015
Follow the same semantics as in put side where we go through
all domains before doing posting read.
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>
---
drivers/gpu/drm/i915/intel_uncore.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c
index ebd9068..d2423e6 100644
--- a/drivers/gpu/drm/i915/intel_uncore.c
+++ b/drivers/gpu/drm/i915/intel_uncore.c
@@ -144,9 +144,10 @@ fw_domains_get(struct drm_i915_private *dev_priv, enum forcewake_domains fw_doma
for_each_fw_domain_mask(d, fw_domains, dev_priv, id) {
fw_domain_wait_ack_clear(d);
fw_domain_get(d);
- fw_domain_posting_read(d);
fw_domain_wait_ack(d);
}
+
+ fw_domains_posting_read(dev_priv);
}
static void
--
1.9.1
More information about the Intel-gfx
mailing list