drm/i915: Move ringbuffer-related code to intel_ringbuffer.c.
authorEric Anholt <eric@anholt.net>
Fri, 21 May 2010 20:26:39 +0000 (13:26 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 26 May 2010 19:36:00 +0000 (12:36 -0700)
commit62fdfeaf8b1f487060b6e160e7b5cd90287607c9
treedf21e22cc6cc0a3409d35f8e4edd46595a129739
parent79a78dd6266a4f3e31c800e941ec62e250770a7d
drm/i915: Move ringbuffer-related code to intel_ringbuffer.c.

This is preparation for supporting multiple ringbuffers on Ironlake.
The non-copy-and-paste changes are:
- de-staticing functions
- I915_GEM_GPU_DOMAINS moving to i915_drv.h to be used by both files.
- i915_gem_add_request had only half its implementation
  copy-and-pasted out of the middle of it.
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_ringbuffer.c [new file with mode: 0644]