summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2023-03-31 09:46:24 +0100
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 11:34:59 -0500
commit1105ac15d2a151bc87c3fe0e79f95c5cde90f1eb (patch)
treef4a59ec38019943f82a0962a5ffa810fdf7f3731 /include/uapi
parent1bc56a934f11cc9bb859116d30e828ccf2df54cf (diff)
downloadlinux-next-1105ac15d2a151bc87c3fe0e79f95c5cde90f1eb.tar.gz
linux-next-1105ac15d2a151bc87c3fe0e79f95c5cde90f1eb.zip
drm/xe/uapi: restrict system wide accounting
Since this is considered an info leak (system wide accounting), rather hide behind perfmon_capable(). v2: - Without perfmon_capable() it likely makes more sense to report as zero, instead of reporting as used == total size. This should give similar behaviour as i915 which rather tracks free instead of used. Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: José Roberto de Souza <jose.souza@intel.com> Cc: Filip Hazubski <filip.hazubski@intel.com> Cc: Carl Zhang <carl.zhang@intel.com> Cc: Effie Yu <effie.yu@intel.com> Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions