]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Split out i915_vma.c
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Fri, 11 Nov 2016 10:43:54 +0000 (12:43 +0200)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Fri, 11 Nov 2016 12:34:54 +0000 (14:34 +0200)
commitb42fe9ca0a1e2b270c06b3f118f1f9db952d623b
treef4a5abc9accafa4451e26d921fd47d6fb46a9112
parent8be8f4a9a9ce48d545512ef7299da607401f3879
drm/i915: Split out i915_vma.c

As a side product, had to split two other files;
- i915_gem_fence_reg.h
- i915_gem_object.h (only parts that needed immediate untanglement)

I tried to move code in as big chunks as possible, to make review
easier. i915_vma_compare was moved to a header temporarily.

v2:
- Use i915_gem_fence_reg.{c,h}

v3:
- Rebased

v4:
- Fix building when DEBUG_GEM is enabled by reordering a bit.

Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1478861034-30643-1-git-send-email-joonas.lahtinen@linux.intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_fence_reg.c [moved from drivers/gpu/drm/i915/i915_gem_fence.c with 100% similarity]
drivers/gpu/drm/i915/i915_gem_fence_reg.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h
drivers/gpu/drm/i915/i915_gem_object.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_gem_request.h
drivers/gpu/drm/i915/i915_vma.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_vma.h [new file with mode: 0644]