]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Add temporary ring->ctx backpointer
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 24 Jul 2014 16:04:16 +0000 (17:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Aug 2014 16:42:59 +0000 (18:42 +0200)
commit582d67f0b19afc2299bc8977aba835d8d25bb591
tree8ce99b9bbcc09706b9d5a77c144abd58faa046f6
parent3a448734902359113b0c7c3454ce4cd56dc1e61f
drm/i915: Add temporary ring->ctx backpointer

The execlist patches have a bit a convoluted and long history and due
to that have the actual submission still misplaced deeply burried in
the low-level ringbuffer handling code. This design goes back to the
legacy ringbuffer code with its tricky lazy request and simple work
submissiion using ring tail writes. For that reason they need a
ring->ctx backpointer.

The goal is to unburry that code and move it up into a level where the
full execlist context is available so that we can ditch this
backpointer. Until that's done make it really obvious that there's
work still to be done.

Cc: Oscar Mateo <oscar.mateo@intel.com>
Cc: Thomas Daniel <thomas.daniel@intel.com>
Acked-by: Thomas Daniel <thomas.daniel@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.h