Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.16 43 lines 1.5 kB view raw
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2022 Intel Corporation 4 */ 5 6#ifndef _XE_GUC_SUBMIT_H_ 7#define _XE_GUC_SUBMIT_H_ 8 9#include <linux/types.h> 10 11struct drm_printer; 12struct xe_exec_queue; 13struct xe_guc; 14 15int xe_guc_submit_init(struct xe_guc *guc, unsigned int num_ids); 16 17int xe_guc_submit_reset_prepare(struct xe_guc *guc); 18void xe_guc_submit_reset_wait(struct xe_guc *guc); 19void xe_guc_submit_stop(struct xe_guc *guc); 20int xe_guc_submit_start(struct xe_guc *guc); 21void xe_guc_submit_wedge(struct xe_guc *guc); 22 23int xe_guc_read_stopped(struct xe_guc *guc); 24int xe_guc_sched_done_handler(struct xe_guc *guc, u32 *msg, u32 len); 25int xe_guc_deregister_done_handler(struct xe_guc *guc, u32 *msg, u32 len); 26int xe_guc_exec_queue_reset_handler(struct xe_guc *guc, u32 *msg, u32 len); 27int xe_guc_exec_queue_memory_cat_error_handler(struct xe_guc *guc, u32 *msg, 28 u32 len); 29int xe_guc_exec_queue_reset_failure_handler(struct xe_guc *guc, u32 *msg, u32 len); 30int xe_guc_error_capture_handler(struct xe_guc *guc, u32 *msg, u32 len); 31 32struct xe_guc_submit_exec_queue_snapshot * 33xe_guc_exec_queue_snapshot_capture(struct xe_exec_queue *q); 34void 35xe_guc_exec_queue_snapshot_capture_delayed(struct xe_guc_submit_exec_queue_snapshot *snapshot); 36void 37xe_guc_exec_queue_snapshot_print(struct xe_guc_submit_exec_queue_snapshot *snapshot, 38 struct drm_printer *p); 39void 40xe_guc_exec_queue_snapshot_free(struct xe_guc_submit_exec_queue_snapshot *snapshot); 41void xe_guc_submit_print(struct xe_guc *guc, struct drm_printer *p); 42 43#endif