]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Add support of mocs propagation
authorAyaz A Siddiqui <ayaz.siddiqui@intel.com>
Fri, 3 Sep 2021 09:21:49 +0000 (14:51 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Fri, 3 Sep 2021 14:47:20 +0000 (20:17 +0530)
commit7f0645713068886bd5677c3b91db706dd8747659
treeae0cac4a6557d7c75130ef9638295b996cbfa1d3
parent830b1efd7bd56a45e24717b524488895bec18821
drm/i915/gt: Add support of mocs propagation

Now there are lots of Command and registers that require mocs index
programming.
So propagating mocs_index from mocs to gt so that it can be
used directly without having platform-specific checks.

V2:
Changed 'i915_mocs_index_gt' to anonymous structure.

Cc: CQ Tang<cq.tang@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Ayaz A Siddiqui <ayaz.siddiqui@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210903092153.535736-2-ayaz.siddiqui@intel.com
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_gt_types.h
drivers/gpu/drm/i915/gt/intel_mocs.c
drivers/gpu/drm/i915/gt/intel_mocs.h