drm/i915/guc: Move intel_guc_reserved_gtt_size to intel_wopcm_guc_size
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 11 Jun 2019 11:00:43 +0000 (12:00 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 11 Jun 2019 13:40:14 +0000 (14:40 +0100)
commit9937e16b2820d141df2ba9845c19d3b7bc31fd7b
treeced3355801a7114aafb1cc2407920ba46c536393
parentab53497b57573e0a1b2b5349651108fd69c28a2e
drm/i915/guc: Move intel_guc_reserved_gtt_size to intel_wopcm_guc_size

Reduces pointer chasing and gets more to the point.

v2:
 * Tidy whitespace.
 * Tidy comment. (Michal)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190611110044.7742-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/intel_guc.c
drivers/gpu/drm/i915/intel_guc.h
drivers/gpu/drm/i915/intel_wopcm.h