[Bug 100718] [BSW][BAT] igt at pm_rpm@basic-rte incomplete
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 21 11:49:36 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100718
--- Comment #8 from Chris Wilson <chris at chris-wilson.co.uk> ---
I have the impression it doesn't approve of us reading VLV_GTLC_PW_STATUS
frequently:
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 5f2aeb27aeb7..acb99603b955 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -2246,9 +2246,8 @@ static int vlv_wait_for_gt_wells(struct drm_i915_private
*dev_priv,
* RC6 transitioning can be delayed up to 2 msec (see
* valleyview_enable_rps), use 3 msec for safety.
*/
- err = intel_wait_for_register(dev_priv,
- VLV_GTLC_PW_STATUS, mask, val,
- 3);
+ err = wait_for((I915_READ_NOTRACE(VLV_GTLC_PW_STATUS) & mask) == val,
+ 3);
if (err)
DRM_ERROR("timeout waiting for GT wells to go %s\n",
onoff(wait_for_on));
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170421/e1dc629e/attachment.html>
More information about the intel-gfx-bugs
mailing list