mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 19:00:13 +01:00
intel/perf: Change oa_format to uint64_t
Xe KMD will not provide a enum with formats, instead UMD needs set a uint64_t with type, counter_sel, counter_size and bc_report for the format. So here changing from int to uint64_t, it do not causes any issues for i915 and makes it ready for Xe KMD. 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:
parent
9cb4ff9b0e
commit
be518657b9
3 changed files with 3 additions and 3 deletions
|
|
@ -248,7 +248,7 @@ struct intel_perf_query_info {
|
|||
|
||||
/* OA specific */
|
||||
uint64_t oa_metrics_set_id;
|
||||
int oa_format;
|
||||
uint64_t oa_format;
|
||||
|
||||
/* For indexing into the accumulator[] ... */
|
||||
int gpu_time_offset;
|
||||
|
|
|
|||
|
|
@ -351,7 +351,7 @@ intel_perf_close(struct intel_perf_context *perfquery,
|
|||
bool
|
||||
intel_perf_open(struct intel_perf_context *perf_ctx,
|
||||
int metrics_set_id,
|
||||
int report_format,
|
||||
uint64_t report_format,
|
||||
int period_exponent,
|
||||
int drm_fd,
|
||||
uint32_t ctx_id,
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ struct intel_perf_query_object;
|
|||
bool
|
||||
intel_perf_open(struct intel_perf_context *perf_ctx,
|
||||
int metrics_set_id,
|
||||
int report_format,
|
||||
uint64_t report_format,
|
||||
int period_exponent,
|
||||
int drm_fd,
|
||||
uint32_t ctx_id,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue