]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Generalize ring_space to take a ringbuf
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 3 Jul 2014 15:28:03 +0000 (16:28 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Jul 2014 10:30:57 +0000 (12:30 +0200)
commit64c58f2c48da85223f0db438fe4854bc3ef24353
tree3f25343d4f927f3d5c0ce885049f065cbc9bf173
parent2919d2913c515fcfef6d50a46aae31128d454ce9
drm/i915: Generalize ring_space to take a ringbuf

It's simple enough that it doesn't need to know anything about the
engine.

Trivial change.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c