FILE
xe_vram.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/xe/xe_vram.h
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2024 Intel Corporation 4 */ 5 6#ifndef _XE_VRAM_H_ 7#define _XE_VRAM_H_ 8 9#include <linux/types.h> 10 11struct xe_device; 12struct xe_vram_region; 13 14void xe_vram_resize_bar(struct xe_device *xe); 15int xe_vram_probe(struct xe_device *xe); 16 17struct xe_vram_region *xe_vram_region_alloc(struct xe_device *xe, u8 id, u32 placement); 18 19resource_size_t xe_vram_region_io_start(const struct xe_vram_region *vram); 20resource_size_t xe_vram_region_io_size(const struct xe_vram_region *vram); 21resource_size_t xe_vram_region_dpa_base(const struct xe_vram_region *vram); 22resource_size_t xe_vram_region_usable_size(const struct xe_vram_region *vram); 23resource_size_t xe_vram_region_actual_physical_size(const struct xe_vram_region *vram); 24 25#endif
~/
Read-only file preview.