diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-05-26 19:43:42 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:34:02 +0300 |
commit | cefeb7634136b7273dff7fe20cedc95e01e51209 (patch) | |
tree | 3b6ae4aff910d20909488e85d35dd794b3833a92 /drivers/gpu/drm/xe/xe_rtp_types.h | |
parent | 91042671d9f3102c7e100d2e9275cae13eb63462 (diff) | |
download | linux-cefeb7634136b7273dff7fe20cedc95e01e51209.tar.xz |
drm/xe/rtp: Allow to track active workarounds
Add the metadata in struct xe_rtp_process_ctx, to be set by
xe_rtp_process_ctx_enable_active_tracking(), so rtp knows how to mark
the active entries while processing the table. This can be used by the
WA infra to record what are the active workarounds.
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20230526164358.86393-6-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_rtp_types.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_rtp_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_rtp_types.h b/drivers/gpu/drm/xe/xe_rtp_types.h index 66d1cb0aaa08..03d97b666c64 100644 --- a/drivers/gpu/drm/xe/xe_rtp_types.h +++ b/drivers/gpu/drm/xe/xe_rtp_types.h @@ -106,6 +106,8 @@ struct xe_rtp_process_ctx { struct xe_hw_engine *hwe; }; enum xe_rtp_process_type type; + unsigned long *active_entries; + size_t n_entries; }; #endif |