intel/perf: Nuke platform_supported
Only set, never used. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28997>
This commit is contained in:
committed by
Marge Bot
parent
ad4c24b797
commit
14b890c797
@@ -765,8 +765,6 @@ oa_metrics_available(struct intel_perf_config *perf, int fd,
|
||||
if (paranoid == 0 || geteuid() == 0)
|
||||
i915_perf_oa_available = true;
|
||||
}
|
||||
|
||||
perf->platform_supported = oa_register != NULL;
|
||||
}
|
||||
|
||||
return i915_perf_oa_available &&
|
||||
|
||||
@@ -386,12 +386,6 @@ struct intel_perf_config {
|
||||
*/
|
||||
uint64_t fallback_raw_oa_metric;
|
||||
|
||||
/* Whether we have support for this platform. If true && n_queries == 0,
|
||||
* this means we will not be able to use i915-perf because of it is in
|
||||
* paranoid mode.
|
||||
*/
|
||||
bool platform_supported;
|
||||
|
||||
/* Location of the device's sysfs entry. */
|
||||
char sysfs_dev_dir[256];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user