[PATCH] drm/nouveau: Skip fence context seqno check if notifies are enabled

2016-09-07 Thread Chris Wilson
On Wed, Sep 07, 2016 at 09:21:05PM +0100, Chris Wilson wrote: > If the fence context has notifies enabled, each of the fences' > FENCE_FLAG_SIGNALED_BIT will be updated from the interrupt. We can rely > on this status for reporting the current fence_is_signaled() and so > avoid an expensive

[PATCH] drm/nouveau: Skip fence context seqno check if notifies are enabled

2016-09-07 Thread Chris Wilson
If the fence context has notifies enabled, each of the fences' FENCE_FLAG_SIGNALED_BIT will be updated from the interrupt. We can rely on this status for reporting the current fence_is_signaled() and so avoid an expensive uncached read. Signed-off-by: Chris Wilson Cc: Ben Skeggs Cc: dri-devel