summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2023-06-03 02:52:10 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:34:28 +0300
commit1fce9a6f69f57318842bd2771f761f203db6f49c (patch)
tree9f5f195686e72f2d5d95c518113c542ddb217f98 /include/linux/debugobjects.h
parent17a6726c3d3040c0a47d7ec5bd8cc4056a379017 (diff)
downloadlinux-1fce9a6f69f57318842bd2771f761f203db6f49c.tar.xz
drm/xe: Don't hardcode GuC's MOCS index in register header
Although PVC is currently the only platform that needs us to program a GuC register with the index of an uncached MOCS entry, it's likely other platforms will need this in the future. Rather than hardcoding PVC's index into the register header, we should just pull the appropriate index from gt->mocs.uc_index to future-proof the code. Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://lore.kernel.org/r/20230602235210.1314028-3-matthew.d.roper@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions