32,12 → 32,12 |
#define _TTM_BO_API_H_ |
|
#include <drm/drm_hashtab.h> |
#include <drm/drm_vma_manager.h> |
#include <linux/kref.h> |
#include <linux/list.h> |
#include <linux/wait.h> |
#include <linux/mutex.h> |
#include <linux/mm.h> |
#include <linux/rbtree.h> |
#include <linux/bitmap.h> |
|
struct ttm_bo_device; |
195,7 → 195,6 |
enum ttm_bo_type type; |
void (*destroy) (struct ttm_buffer_object *); |
unsigned long num_pages; |
uint64_t addr_space_offset; |
size_t acc_size; |
|
/** |
239,14 → 238,8 |
void *sync_obj; |
unsigned long priv_flags; |
|
/** |
* Members protected by the bdev::vm_lock |
*/ |
struct drm_vma_offset_node vma_node; |
|
// struct rb_node vm_rb; |
struct drm_mm_node *vm_node; |
|
|
/** |
* Special members that are protected by the reserve lock |
* and the bo::lock when written to. Can be read with |