]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915/bdw: GEN-specific logical ring emit request
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 24 Jul 2014 16:04:27 +0000 (17:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 Aug 2014 20:42:49 +0000 (22:42 +0200)
commit4da46e1e5bb7e7396fad172cdaffbe496562f3d8
treeb7a47fdb823b8464c24a8df87ce63fe4c170af6d
parent82e104cc266c6da30a30fc5028b2f0236c669cd7
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>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.h