projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fd8245
)
[intel] Fix INTEL_DEBUG=bufmgr after relocation interface fixups.
author
Eric Anholt
<eric@anholt.net>
Fri, 8 Feb 2008 23:58:45 +0000
(15:58 -0800)
committer
Eric Anholt
<eric@anholt.net>
Wed, 13 Feb 2008 00:06:02 +0000
(16:06 -0800)
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
index 89e41a0c516b6c242060726b688b56d6d3c34a9f..3a6f9af20a720ab4b3b10609b9d2839547d9f57b 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
+++ b/
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
@@
-151,8
+151,7
@@
static void dri_ttm_dump_validation_list(dri_bufmgr_ttm *bufmgr_ttm)
uint32_t *reloc_entry = bo_ttm->reloc_buf_data +
I915_RELOC_HEADER +
j * I915_RELOC0_STRIDE;
- dri_bo *target_bo =
- bufmgr_ttm->validate_array[reloc_entry[2]].bo;
+ dri_bo *target_bo = bo_ttm->relocs[j].target_buf;
dri_bo_ttm *target_ttm = (dri_bo_ttm *)target_bo;
DBG("%2d: %s@0x%08x -> %s@0x%08lx + 0x%08x\n",