diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2024-01-23 23:44:47 +0300 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2024-01-24 21:53:38 +0300 |
commit | 98fefec8c38117d50cbbc6ca240ed953570ea778 (patch) | |
tree | bdd7de04c6709bba642ed7cc3e1ba8ce0f74e3af /drivers/gpu/drm/xe/xe_devcoredump.h | |
parent | c65908c33b80b329ed4ed680f1333617967fe28f (diff) | |
download | linux-98fefec8c38117d50cbbc6ca240ed953570ea778.tar.xz |
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_devcoredump.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_devcoredump.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/xe/xe_devcoredump.h b/drivers/gpu/drm/xe/xe_devcoredump.h index 6ac218a5c194..df8671f0b5eb 100644 --- a/drivers/gpu/drm/xe/xe_devcoredump.h +++ b/drivers/gpu/drm/xe/xe_devcoredump.h @@ -7,12 +7,12 @@ #define _XE_DEVCOREDUMP_H_ struct xe_device; -struct xe_exec_queue; +struct xe_sched_job; #ifdef CONFIG_DEV_COREDUMP -void xe_devcoredump(struct xe_exec_queue *q); +void xe_devcoredump(struct xe_sched_job *job); #else -static inline void xe_devcoredump(struct xe_exec_queue *q) +static inline void xe_devcoredump(struct xe_sched_job *job) { } #endif |