mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
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
21 lines
336 B
C
21 lines
336 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_DEVCOREDUMP_H_
|
|
#define _XE_DEVCOREDUMP_H_
|
|
|
|
struct xe_device;
|
|
struct xe_sched_job;
|
|
|
|
#ifdef CONFIG_DEV_COREDUMP
|
|
void xe_devcoredump(struct xe_sched_job *job);
|
|
#else
|
|
static inline void xe_devcoredump(struct xe_sched_job *job)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif
|