1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2021 Intel Corporation 4 */ 5 6 #ifndef __DRM_BUDDY_H__ 7 #define __DRM_BUDDY_H__ 8 9 #include <linux/gpu_buddy.h> 10 11 struct drm_printer; 12 13 /* DRM-specific GPU Buddy Allocator print helpers */ 14 void drm_buddy_print(struct gpu_buddy *mm, struct drm_printer *p); 15 void drm_buddy_block_print(struct gpu_buddy *mm, 16 struct gpu_buddy_block *block, 17 struct drm_printer *p); 18 #endif 19