]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move MOCS setup to intel_mocs.c
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 30 Jul 2019 18:04:07 +0000 (11:04 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 31 Jul 2019 14:40:35 +0000 (07:40 -0700)
commitcc70360df0f36c61a6912af3fdd05ac5c37c16b8
tree719806d97ec2a78bf3dba82494d88f7e6d30c113
parent559c1701f63b84abcff08c619394e7e2c1bbf92c
drm/i915: Move MOCS setup to intel_mocs.c

Hide the details of MOCS setup from i915_gem by moving both current calls
into one in intel_mocs_init.

Cc: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190713010940.17711-21-lucas.demarchi@intel.com
Link: https://patchwork.freedesktop.org/patch/msgid/20190730180407.5993-6-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_mocs.c
drivers/gpu/drm/i915/gt/intel_mocs.h
drivers/gpu/drm/i915/i915_gem.c