drm/i915: Compartmentalize ring buffer creation
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jun 2019 07:08:07 +0000 (08:08 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jun 2019 12:48:47 +0000 (13:48 +0100)
commitdb45fb5bc1a09af37d2b0e6c4c3c258d1d732b89
treeee036efd45a897d342402a16d188d9666894829c
parentd8a4424839eead6da07835e7d2f8b8f54ad6c6b0
drm/i915: Compartmentalize ring buffer creation

Continuing on the theme of compartmentalizing the code better to make
future split between gt and display in global i915 clearer.

v2:
 * Pass in ggtt instead of gt. (Chris)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190621070811.7006-29-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_ringbuffer.c