]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Abstract the legacy workload submission mechanism away
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 24 Jul 2014 16:04:21 +0000 (17:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 Aug 2014 14:40:32 +0000 (16:40 +0200)
commitbe8a8e11ca0e0327ac86995c9504e51cdc787677
tree6a47fc537941ec3cfc1c43d0db189edf1b5bb6c2
parentd27550d9da8ff212ba010a55d06b24db046550ae
drm/i915: Abstract the legacy workload submission mechanism away

As suggested by Daniel Vetter. The idea, in subsequent patches, is to
provide an alternative to these vfuncs for the Execlists submission
mechanism.

v2: Splitted into two and reordered to illustrate our intentions, instead
of showing it off. Also, remove the add_request vfunc and added the
stop_ring one.

Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
[danvet:
- Make checkpatch happy.
- Be grumpy about the excessive vtable.
- Ditch gt->is_ring_initialized.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c