Re: [Intel-gfx] [PATCH] drm/i915/display: Apply interactive priority to explicit flip fences

2021-01-19 Thread Chris Wilson
Quoting Ville Syrjälä (2021-01-19 16:42:36) > On Mon, Jan 18, 2021 at 11:59:29AM +, Chris Wilson wrote: > > +void i915_gem_fence_wait_priority(struct dma_fence *fence, > > + const struct i915_sched_attr *attr) > > +{ > > + if (dma_fence_is_signaled(fence)) > >

Re: [Intel-gfx] [PATCH] drm/i915/display: Apply interactive priority to explicit flip fences

2021-01-19 Thread Ville Syrjälä
On Mon, Jan 18, 2021 at 11:59:29AM +, Chris Wilson wrote: > Currently, if a modeset/pageflip needs to wait for render completion to > an object, we boost the priority of that rendering above all other work. > We can apply the same interactive priority boosting to explicit fences > that we can u

[Intel-gfx] [PATCH] drm/i915/display: Apply interactive priority to explicit flip fences

2021-01-18 Thread Chris Wilson
Currently, if a modeset/pageflip needs to wait for render completion to an object, we boost the priority of that rendering above all other work. We can apply the same interactive priority boosting to explicit fences that we can unwrap into a native i915_request (i.e. sync_file). Signed-off-by: Chr

[Intel-gfx] [PATCH] drm/i915/display: Apply interactive priority to explicit flip fences

2021-01-18 Thread Chris Wilson
Currently, if a modeset/pageflip needs to wait for render completion to an object, we boost the priority of that rendering above all other work. We can apply the same interactive priority boosting to explicit fences that we can unwrap into a native i915_request (i.e. sync_file). Signed-off-by: Chr