[Intel-gfx] [PATCH v3 10/12] drm/i915: Rename helpers used for unwinding, use macro for can_preempt

Chris Wilson chris at chris-wilson.co.uk
Wed Oct 25 20:15:06 UTC 2017


Quoting Michał Winiarski (2017-10-25 21:00:18)
> We would also like to make use of execlist_cancel_port_requests and
> unwind_incomplete_requests in GuC preemption backend.
> Let's rename the functions to use the correct prefixes, so that we can
> simply add the declarations in the following patch.
> Similar thing for applies for can_preempt, except we're introducing
> HAS_LOGICAL_RING_PREEMPTION macro instad, converting other users that
> were previously touching device info directly.
> 
> v2: s/intel_engine/execlists and pass execlists to unwind (Chris)
> v3: use locked version for exporting, drop const qual (Chris)
> 
> Signed-off-by: Michał Winiarski <michal.winiarski at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list