diff options
author | Xiang, Haihao <[email protected]> | 2008-01-04 14:22:23 +0800 |
---|---|---|
committer | Xiang, Haihao <[email protected]> | 2008-01-04 14:22:23 +0800 |
commit | 15356376bdee4aa4c5d57b61496cadd5ac19ce60 (patch) | |
tree | 98ba33611ef5f39dd78f969f2ea2439dc9734db9 /src/mesa | |
parent | 62842e7145aa6e39b1fffc2dba8e2631bcc35b37 (diff) |
intel: some initialization for dri_bufmgr_ttm
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c index bd37efa9879..bbb2412a49a 100644 --- a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c +++ b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c @@ -835,6 +835,8 @@ intel_bufmgr_ttm_init(int fd, unsigned int fence_type, bufmgr_ttm->fd = fd; bufmgr_ttm->fence_type = fence_type; bufmgr_ttm->fence_type_flush = fence_type_flush; + bufmgr_ttm->cached_reloc_buf = NULL; + bufmgr_ttm->cached_reloc_buf_data = NULL; /* lets go with one relocation per every four dwords - purely heuristic */ bufmgr_ttm->max_relocs = batch_size / sizeof(uint32_t) / 4; |