]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/bdw: Skeleton for the new logical rings submission path
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 24 Jul 2014 16:04:22 +0000 (17:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 Aug 2014 14:40:57 +0000 (16:40 +0200)
commit11701ecc68061dae73c788ed0da2f4ee3a7efff4
tree294f87778ab721d43c0094b0d08de7d121efa41a
parentd61c738ca4174f77834fa74845e9b6fe67c9d079
drm/i915/bdw: Skeleton for the new logical rings submission path

Execlists are indeed a brave new world with respect to workload
submission to the GPU.

In previous version of these series, I have tried to impact the
legacy ringbuffer submission path as little as possible (mostly,
passing the context around and using the correct ringbuffer when I
needed one) but Daniel is afraid (probably with a reason) that
these changes and, especially, future ones, will end up breaking
older gens.

This commit and some others coming next will try to limit the
damage by creating an alternative path for workload submission.
The first step is here: laying out a new ring init/fini.

Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h