[Intel-gfx] [PATCH 0/3] Moving the common engine/ring code to intel_engine_cs.c

Tvrtko Ursulin tursulin at ursulin.net
Wed Feb 15 14:05:50 UTC 2017


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Chris suggested that we should do this but it is a lot of churn so I don't know.

There is more re-org we could do to make things more logical, like maybe move
struct intel_ring code to intel_ring.c, but said, I am not sure it is worth the
disruption.

Patch 1 and 3 at least are small cleanups on their own.

Tvrtko Ursulin (3):
  drm/i915: Make int __intel_ring_space static
  drm/i915: Move common engine and ring code into intel_engine_cs
  drm/i915: Simplify cleanup path in intel_engines_init

 drivers/gpu/drm/i915/intel_engine_cs.c  | 838 +++++++++++++++++++++++++++++++-
 drivers/gpu/drm/i915/intel_ringbuffer.c | 834 -------------------------------
 drivers/gpu/drm/i915/intel_ringbuffer.h |   1 -
 3 files changed, 835 insertions(+), 838 deletions(-)

-- 
2.9.3



More information about the Intel-gfx mailing list