drm/i915/guc: Expose (intel)_lr_context_size()
authorDave Gordon <david.s.gordon@intel.com>
Fri, 18 Dec 2015 20:00:08 +0000 (12:00 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 5 Jan 2016 10:33:34 +0000 (11:33 +0100)
commit95a66f7e711d091ea277fcde2d1dd11e6b8e9468
tree998e47784d273d51d49c97c09b1a11f24be28fcd
parenta7e02199ae430c0b41ee2b3079ccbbaff2393baf
drm/i915/guc: Expose (intel)_lr_context_size()

The GuC code needs to know the size of a logical context, so we
expose get_lr_context_size(), renaming it intel_lr_context__size()
to fit the naming conventions for nonstatic functions.

For: VIZ-2021
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Signed-off-by: Alex Dai <yu.dai@intel.com>
Reviewed-by: Dave Gordon <david.s.gordon@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450468812-4882-2-git-send-email-yu.dai@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h