-
- Downloads
drm/i915/gt: Make deferred context allocation explicit
Refactor the backends to handle the deferred context allocation in a consistent manner, and allow calling it as an explicit first step in pinning a context for the first time. This should make it easier for backends to keep track of partially constructed contexts from initialisation. Signed-off-by:Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by:
Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190809182518.20486-2-chris@chris-wilson.co.uk
Showing
- drivers/gpu/drm/i915/gt/intel_context.c 8 additions, 0 deletionsdrivers/gpu/drm/i915/gt/intel_context.c
- drivers/gpu/drm/i915/gt/intel_context_types.h 5 additions, 0 deletionsdrivers/gpu/drm/i915/gt/intel_context_types.h
- drivers/gpu/drm/i915/gt/intel_lrc.c 19 additions, 10 deletionsdrivers/gpu/drm/i915/gt/intel_lrc.c
- drivers/gpu/drm/i915/gt/intel_ringbuffer.c 12 additions, 3 deletionsdrivers/gpu/drm/i915/gt/intel_ringbuffer.c
- drivers/gpu/drm/i915/gt/mock_engine.c 11 additions, 6 deletionsdrivers/gpu/drm/i915/gt/mock_engine.c
Loading
Please register or sign in to comment