[Bug 103484] SSEU status is all 0 on BXT

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 27 16:07:31 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103484

--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Lionel Landwerlin from comment #6)
> It might be a testimony that we're not doing power management very well on
> some platforms...

Or that those registers are meant to be fw, and we haven't hooked up bxt
correctly?

Hmm.

#define GEN9_SLICE_PGCTL_ACK(slice)     _MMIO(0x804c + (slice)*0x4)

static const struct intel_forcewake_range __gen9_fw_ranges[] = {
...
        GEN_FW_RANGE(0x8000, 0x812f, FORCEWAKE_BLITTER),

so the register read does require fw. So

diff --git a/drivers/gpu/drm/i915/intel_uncore.c
b/drivers/gpu/drm/i915/intel_uncore.c
index 3d91d8a28d9f..56445b06a68c 100644
--- a/drivers/gpu/drm/i915/intel_uncore.c
+++ b/drivers/gpu/drm/i915/intel_uncore.c
@@ -812,7 +812,7 @@ static const struct intel_forcewake_range
__gen9_fw_ranges[] = {
        GEN_FW_RANGE(0x3000, 0x3fff, FORCEWAKE_RENDER),
        GEN_FW_RANGE(0x4000, 0x51ff, FORCEWAKE_BLITTER),
        GEN_FW_RANGE(0x5200, 0x7fff, FORCEWAKE_RENDER),
-       GEN_FW_RANGE(0x8000, 0x812f, FORCEWAKE_BLITTER),
+       GEN_FW_RANGE(0x8000, 0x812f, FORCEWAKE_BLITTER | FORCEWAKE_RENDER),
        GEN_FW_RANGE(0x8130, 0x813f, FORCEWAKE_MEDIA),
        GEN_FW_RANGE(0x8140, 0x815f, FORCEWAKE_RENDER),
        GEN_FW_RANGE(0x8160, 0x82ff, FORCEWAKE_BLITTER),

is also sufficient. I'm starting to suspect the domain is wrong here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20171027/e767abf8/attachment.html>


More information about the intel-gfx-bugs mailing list