The problematic condition causing the whole ring to be claimed dead is
I915_READ_HEAD(ring) & HEAD_ADDR) == 8
right?
I915_READ_HEAD(ring) returns 000e200c HEAD_ADDR is 0x001FFFFC, so the result is e200c, not the expected value of 8, causing the ring initialization failure.
The problematic condition causing the whole ring to be claimed dead is
I915_ READ_HEAD( ring) & HEAD_ADDR) == 8
right?
I915_READ_ HEAD(ring) returns 000e200c HEAD_ADDR is 0x001FFFFC, so the result is e200c, not the expected value of 8, causing the ring initialization failure.
Or am I completely wrong here?