[Intel-gfx] [PATCH 4/6] drm/i915: Fail engine initialization if LRCA is incorrectly aligned

Chris Wilson chris at chris-wilson.co.uk
Thu Jan 7 08:44:46 PST 2016


On Thu, Jan 07, 2016 at 04:36:19PM +0000, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> LRCA can change only when it goes from unpinned to pinned so it
> makes sense to check its alignment at that point rather than at
> every batch buffer submission.
> 
> Furthermore, if we check it at pin time we can actually
> gracefuly fail the engine initialization rather than just
> spamming the logs at runtime with WARNs.

It's an impossible condition, so ENODEV. Still this was superseded by
patches last year...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list