[Intel-gfx] [PATCH] drm/i915/gt: Eliminate the trylock for reading a timeline's hwsp

2019-12-16 Thread Chris Wilson
As we stash a pointer to the HWSP cacheline on the request, when reading it we only need confirm that the cacheline is still valid by checking that the request and timeline are still intact. v2: Protect hwsp_cachline with RCU Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- drivers/gpu/drm/i

[Intel-gfx] [PATCH] drm/i915/gt: Eliminate the trylock for reading a timeline's hwsp

2019-12-16 Thread Chris Wilson
As we stash a pointer to the HWSP cacheline on the request, when reading it we only need confirm that the cacheline is still valid by checking that the request and timeline are still intact. v2: Protect hwsp_cachline with RCU Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- rcu helpers demand