summaryrefslogtreecommitdiff
path: root/include/linux/kernel_stat.h
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2023-06-02 00:52:42 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:34:27 +0300
commit1bc728dcb8adc9f9e88f34940a94bfa314d4f7c3 (patch)
tree8e881567cab7c03971095cc8dd1421f28dd4e6a7 /include/linux/kernel_stat.h
parent37efea9ca2583990fbd706af0364ce9feb16bb1a (diff)
downloadlinux-1bc728dcb8adc9f9e88f34940a94bfa314d4f7c3.tar.xz
drm/xe: Update query uapi to support standalone media
Now that a higher GT count can result from either multiple tiles (with one GT each) or an extra media GT within the root tile, we need to update the query code slightly to stop looking at tile_count. FIXME: As noted previously, we need to decide on a formal direction for exposing tiles and/or GTs to userspace. v2: - Drop num_gt() function in favor of stored xe->info.gt_count. (Brian) v3: - Keep XE_QUERY_GT_TYPE_REMOTE around for now. Userspace probably doesn't actually need this, and we may remove it in the future, but for now let's avoid changing uapi. (Brian) Cc: Brian Welty <brian.welty@intel.com> Reviewed-by: Brian Welty <brian.welty@intel.com> Link: https://lore.kernel.org/r/20230601215244.678611-30-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/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions