summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2008-02-08 15:58:45 -0800
committerEric Anholt <[email protected]>2008-02-12 16:06:02 -0800
commit7ea767f9faee2c6acbaccdd4fae863c2cad0da31 (patch)
tree3e7731918f9106cf89e23e49432aec5e1521d452 /src/mesa
parent1fd82451eb8a76f2df85720e8d9d607d9e37ab24 (diff)
[intel] Fix INTEL_DEBUG=bufmgr after relocation interface fixups.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
index 89e41a0c516..3a6f9af20a7 100644
--- 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",