blob: 3e50d30bd95a3473655026cd62dfc8203041ea4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* SPDX-License-Identifier: GPL-2.0 OR MIT */
/* Copyright (c) 2025 Valve Corporation */
#ifndef _TTM_POOL_INTERNAL_H_
#define _TTM_POOL_INTERNAL_H_
#include <drm/ttm/ttm_pool.h>
static inline bool ttm_pool_uses_dma_alloc(struct ttm_pool *pool)
{
return pool->use_dma_alloc;
}
static inline bool ttm_pool_uses_dma32(struct ttm_pool *pool)
{
return pool->use_dma32;
}
#endif
|