File Index
Files and directories
Sign in
FILE

xe_ttm_stolen_mgr.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h C
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2022 Intel Corporation
 4 */
 5
 6#ifndef _XE_TTM_STOLEN_MGR_H_
 7#define _XE_TTM_STOLEN_MGR_H_
 8
 9#include <linux/types.h>
10
11struct ttm_resource;
12struct xe_bo;
13struct xe_device;
14
15int xe_ttm_stolen_mgr_init(struct xe_device *xe);
16int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem);
17bool xe_ttm_stolen_cpu_access_needs_ggtt(struct xe_device *xe);
18u64 xe_ttm_stolen_io_offset(struct xe_bo *bo, u32 offset);
19u64 xe_ttm_stolen_gpu_offset(struct xe_device *xe);
20
21#endif
~/ Read-only file preview.