OSDN Git Service

drm/i915: i915_gem_alloc_context_obj can be static
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 23 Nov 2016 10:49:15 +0000 (10:49 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 23 Nov 2016 14:23:00 +0000 (14:23 +0000)
commit793b61ea9f9972be0836a9a15d0d6a520daaf124
tree482da2f2bb2a64a79288ca0d364504e062c8655f
parente853ab7ca3f6c88cbef18fbc6f6ba6a031d9ac14
drm/i915: i915_gem_alloc_context_obj can be static

It has only one call site from the same file.

v2: Also rename it to alloc_context_obj. (Chris Wilson)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1479898155-21014-1-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_context.c