]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit8620a3a908da34e1a0db9ad457136bc96340911f
tree40bc2c01ca7e854940189c9b5a6a5112b565a56f
parentfb3256da8db2cb70be7d2c7f058b8676a9a85aaf
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