diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2024-01-23 21:44:47 +0100 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2024-01-24 19:53:38 +0100 |
commit | 98fefec8c38117d50cbbc6ca240ed953570ea778 (patch) | |
tree | bdd7de04c6709bba642ed7cc3e1ba8ce0f74e3af /drivers/gpu/drm/xe/xe_guc_submit.h | |
parent | drm/xe: Remove double new lines in devcoredump (diff) | |
download | linux-98fefec8c38117d50cbbc6ca240ed953570ea778.tar.xz linux-98fefec8c38117d50cbbc6ca240ed953570ea778.zip |
drm/xe: Change devcoredump functions parameters to xe_sched_job
When devcoredump start to dump the VMs contents it will be necessary
to know the starting addresses of batch buffers of the job that hang.
This information it set in xe_sched_job and xe_sched_job is not easily
acessible from xe_exec_queue, so here changing the parameter, next
patch will append the batch buffer addresses to devcoredump snapshot
capture.
v3:
- update functions documentation to xe_sched_job
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Maarten Lankhorst <dev@lankhorst.se>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240123204454.246788-2-jose.souza@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_guc_submit.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_guc_submit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.h b/drivers/gpu/drm/xe/xe_guc_submit.h index fc97869c5b86..723dc2bd8df9 100644 --- a/drivers/gpu/drm/xe/xe_guc_submit.h +++ b/drivers/gpu/drm/xe/xe_guc_submit.h @@ -9,8 +9,8 @@ #include <linux/types.h> struct drm_printer; -struct xe_exec_queue; struct xe_guc; +struct xe_sched_job; int xe_guc_submit_init(struct xe_guc *guc); @@ -27,7 +27,7 @@ int xe_guc_exec_queue_memory_cat_error_handler(struct xe_guc *guc, u32 *msg, int xe_guc_exec_queue_reset_failure_handler(struct xe_guc *guc, u32 *msg, u32 len); struct xe_guc_submit_exec_queue_snapshot * -xe_guc_exec_queue_snapshot_capture(struct xe_exec_queue *q); +xe_guc_exec_queue_snapshot_capture(struct xe_sched_job *job); void xe_guc_exec_queue_snapshot_print(struct xe_guc_submit_exec_queue_snapshot *snapshot, struct drm_printer *p); |