GEM: Include target buffer handle in relocation debug.
authorEric Anholt <eric@anholt.net>
Mon, 5 May 2008 22:44:49 +0000 (15:44 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 5 May 2008 22:44:49 +0000 (15:44 -0700)
src/mesa/drivers/dri/intel/intel_bufmgr_gem.c

index ca0a92cfe844f189a1b3985832b3e402a292b8d1..6f0ecfbdb8647d2a7c995f10a7908a99bc5be29a 100644 (file)
@@ -179,10 +179,10 @@ static void dri_gem_dump_validation_list(dri_bufmgr_gem *bufmgr_gem)
            dri_bo *target_bo = bo_gem->reloc_target_bo[j];
            dri_bo_gem *target_gem = (dri_bo_gem *)target_bo;
 
-           DBG("%2d: %d (%s)@0x%08llx -> %s@0x%08lx + 0x%08x\n",
+           DBG("%2d: %d (%s)@0x%08llx -> %d (%s)@0x%08lx + 0x%08x\n",
                i,
                bo_gem->gem_handle, bo_gem->name, bo_gem->relocs[j].offset,
-               target_gem->name, target_bo->offset,
+               target_gem->gem_handle, target_gem->name, target_bo->offset,
                bo_gem->relocs[j].delta);
        }
     }