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 master 28 lines 726 B view raw
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2022 Intel Corporation 4 */ 5 6#ifndef _XE_BB_H_ 7#define _XE_BB_H_ 8 9#include "xe_bb_types.h" 10 11struct dma_fence; 12 13struct xe_gt; 14struct xe_exec_queue; 15struct xe_sa_manager; 16struct xe_sched_job; 17 18struct xe_bb *xe_bb_new(struct xe_gt *gt, u32 dwords, bool usm); 19struct xe_bb *xe_bb_alloc(struct xe_gt *gt); 20int xe_bb_init(struct xe_bb *bb, struct xe_sa_manager *bb_pool, u32 dwords); 21struct xe_sched_job *xe_bb_create_job(struct xe_exec_queue *q, 22 struct xe_bb *bb); 23struct xe_sched_job *xe_bb_create_migration_job(struct xe_exec_queue *q, 24 struct xe_bb *bb, u64 batch_ofs, 25 u32 second_idx); 26void xe_bb_free(struct xe_bb *bb, struct dma_fence *fence); 27 28#endif