Re: [Intel-gfx] [PATCH 1/2] drm/i915: ringbuffer: use defined get_head/tail method

2010-08-23 Thread Chris Wilson
On Tue, 24 Aug 2010 18:27:32 +0800, Yuanhan Liu wrote: > Use defined get_head/tail method to get the vaule of head/tail. Since each > ring buffer has it's own get_head/tail method defined, use it. > > Signed-off-by: Yuanhan Liu Reviewed-by: Chris Wilson > --- > drivers/gpu/drm/i915/i915_debug

[Intel-gfx] [PATCH 1/2] drm/i915: ringbuffer: use defined get_head/tail method

2010-08-23 Thread Yuanhan Liu
Use defined get_head/tail method to get the vaule of head/tail. Since each ring buffer has it's own get_head/tail method defined, use it. Signed-off-by: Yuanhan Liu --- drivers/gpu/drm/i915/i915_debugfs.c |5 +++-- drivers/gpu/drm/i915/i915_dma.c |4 ++-- drivers/gpu/drm/i915