mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
intel/perf: Add HSW verx10 to intel_perf_query_result_write_mdapi()
HSW is verx10 75 and when we switched from ver to verx10 I forgot to add the case 75. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:a097a3d214("intel/perf: Change mdapi switch cases from ver to verx") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14902 Signed-off-by: José Roberto de Souza <jose.souza@intel.com> (cherry picked from commit48c685ee39) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40092>
This commit is contained in:
parent
71145cb846
commit
b7752ddbc3
2 changed files with 5 additions and 3 deletions
|
|
@ -1594,7 +1594,7 @@
|
|||
"description": "intel/perf: Add HSW verx10 to intel_perf_query_result_write_mdapi()",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "a097a3d214eda7fb7b9ff63176754b7260e09e03",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -35,7 +35,8 @@ intel_perf_query_result_write_mdapi(void *data, uint32_t data_size,
|
|||
const struct intel_perf_query_result *result)
|
||||
{
|
||||
switch (devinfo->verx10) {
|
||||
case 70: {
|
||||
case 70:
|
||||
case 75: {
|
||||
struct gfx7_mdapi_metrics *mdapi_data = (struct gfx7_mdapi_metrics *) data;
|
||||
|
||||
if (data_size < sizeof(*mdapi_data))
|
||||
|
|
@ -315,7 +316,8 @@ intel_perf_register_mdapi_oa_query(struct intel_perf_config *perf,
|
|||
return;
|
||||
|
||||
switch (devinfo->verx10) {
|
||||
case 70: {
|
||||
case 70:
|
||||
case 75: {
|
||||
query = intel_perf_append_query_info(perf, 1 + 45 + 16 + 7);
|
||||
|
||||
struct gfx7_mdapi_metrics metric_data;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue