Re: [Intel-gfx] [PATCH 04/25] drm/i915: Avoid reset lock in writing fence registers

2019-02-20 Thread Mika Kuoppala
Chris Wilson writes: > The idea of taking the reset lock around writing the fence register was > to serialise the mmio write we also perform during the reset where those > registers get clobbered. However, the lock is overkill as write tearing > between reset and fence_update() is harmless; the

[Intel-gfx] [PATCH 04/25] drm/i915: Avoid reset lock in writing fence registers

2019-02-19 Thread Chris Wilson
The idea of taking the reset lock around writing the fence register was to serialise the mmio write we also perform during the reset where those registers get clobbered. However, the lock is overkill as write tearing between reset and fence_update() is harmless; the final value of the fence