[Intel-gfx] [PATCH] drm/i915/gem: Clear read/write domains for GPU clear

Matthew Auld matthew.auld at intel.com
Mon Jun 24 16:39:41 UTC 2019


On 24/06/2019 17:00, Chris Wilson wrote:
> Quoting Matthew Auld (2019-06-24 16:50:48)
>> On 24/06/2019 15:16, Chris Wilson wrote:
>>> Update the domains for the write via the GPU so that we do not
>>> shortcircuit any set-domain wait afterwards.
>>
>> I'm lost. How do we short-circuit the set-domain wait?
> 
> If we never change the read_domain, then we may skip the clflush on
> set_cpu_domain thus missing the updated contents on !llc.
> 
> So s/wait/clflush/ to be precise

Reviewed-by: Matthew Auld <matthew.auld at intel.com>

> -Chris
> 


More information about the Intel-gfx mailing list