]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: consolidate ring->add_request a bit
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Apr 2012 20:12:57 +0000 (22:12 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Apr 2012 10:52:17 +0000 (12:52 +0200)
commit32cd033ab5cb7406f2421d8a68301f3c5e37f6d0
tree40bc2c01ca7e854940189c9b5a6a5112b565a56f
parent455c64df9729c2ff7cea86b288fd845bcfc09237
drm/i915: consolidate ring->add_request a bit

They're indentical, so just kill one. Also give the other a prefix to
distinguish it from the gen6+ functions - this add_request function is
not really generic code.

v2: Fixup commit message as noted by Ben Widawsky.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c