diff options
author | Eric Anholt <[email protected]> | 2008-01-24 12:29:04 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-01-24 12:29:04 -0800 |
commit | 5f0d76204df30de7af9608cf21ddc3cf50eff7b1 (patch) | |
tree | 0b5bacb0e008e8f0b6d47decf07f9aa575ac3b89 /src | |
parent | 8931585d2c478993b23d46bf5f83c99f8bb5fbad (diff) |
Clean up comments/dead code from relocation buffer change.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c index 932e6ade59a..745dbc8a3e0 100644 --- a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c +++ b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c @@ -301,7 +301,6 @@ intel_setup_reloc_list(dri_bo *bo) * DWORD 0: relocation count * DWORD 1: relocation type * DWORD 2+3: handle to next relocation list (currently none) 64-bits - * DWORD 3: unused */ bo_ttm->reloc_buf_data[0] = 0; bo_ttm->reloc_buf_data[1] = I915_RELOC_TYPE_0; @@ -714,10 +713,6 @@ dri_ttm_bo_process_reloc(dri_bo *bo) /* Add the target to the validate list */ intel_add_validate_buffer(r->target_buf, r->validate_flags); - - /* Update the index of the target in the relocation entry */ - reloc_entry = bo_ttm->reloc_buf_data + I915_RELOC_HEADER + - i * I915_RELOC0_STRIDE; } } |