[Intel-gfx] [CI] drm/i915: Use a cached mapping for the physical HWS

Tomi Sarvela tomi.p.sarvela at intel.com
Wed Oct 11 11:44:24 UTC 2017


On 11/10/17 14:43, Chris Wilson wrote:
> Quoting Chris Wilson (2017-10-11 12:21:06)
>> Older gen use a physical address for the hardware status page, for which
>> we use cache-coherent writes. As the writes are into the cpu cache, we use
>> a normal WB mapped page to read the HWS, used for our seqno tracking.
>>
>> Anecdotally, I observed lost breadcrumbs writes into the HWS on i965gm,
>> which so far have not reoccurred with this patch. How reliable that
>> evidence is remains to be seen.
>>
>> v2: Explicitly pass the expected physical address to the hw
>> v3: Also remember the wild writes we once had for HWS above 4G.
>>
>> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
>> Cc: Daniel Vetter <daniel at ffwll.ch>
>> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> 
> Oops, dropped the grumpy r-b from Daniel.
> 
> I was just wanting to see if this helped gdg, but I just remembered CI
> doesn't include gdg in BAT.
> 
> Tomi, still an issue as it's reasonably stable now?

There hasn't been recent hangs for GDG, so I added it to Patchwork and 
Trybot runs.

Tomi
-- 
Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo


More information about the Intel-gfx mailing list