]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: add set_tail hook in struct intel_ring_buffer
authorXiang, Haihao <haihao.xiang@intel.com>
Thu, 16 Sep 2010 02:43:12 +0000 (10:43 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:19:56 +0000 (11:19 +0100)
commitd46eefa29724b1be0e8e90a3a51a190b912ebfab
tree9a26e7b09969f0b992596e3af486d4a02ee70999
parent5c1143bbecf50184ff7cad6287b4e0993bacbd9f
drm/i915: add set_tail hook in struct intel_ring_buffer

This is prepared for video codec ring buffer on Sandybridge. It is
needed to read/write more than one register to move the tail pointer of
the video codec ring on Sandybridge.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h