diff options
author | Oscar Mateo <oscar.mateo@intel.com> | 2014-07-24 17:04:27 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-11 22:42:49 +0200 |
commit | 4da46e1e5bb7e7396fad172cdaffbe496562f3d8 (patch) | |
tree | b7a47fdb823b8464c24a8df87ce63fe4c170af6d /drivers/gpu/drm/i915/intel_ringbuffer.h | |
parent | 82e104cc266c6da30a30fc5028b2f0236c669cd7 (diff) | |
download | lwn-4da46e1e5bb7e7396fad172cdaffbe496562f3d8.tar.gz lwn-4da46e1e5bb7e7396fad172cdaffbe496562f3d8.zip |
drm/i915/bdw: GEN-specific logical ring emit request
Very similar to the legacy add_request, only modified to account for
logical ringbuffer.
v2: Use MI_GLOBAL_GTT, as suggested by Brad Volkin.
v3: Unify render and non-render in the same function, as noticed by
Brad Volkin.
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h index 81bad364e36d..467885159a80 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.h +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h @@ -216,6 +216,9 @@ struct intel_engine_cs { unsigned int num_dwords); } semaphore; + /* Execlists */ + int (*emit_request)(struct intel_ringbuffer *ringbuf); + /** * List of objects currently involved in rendering from the * ringbuffer. |