diff options
author | Eric Anholt <eric@anholt.net> | 2009-01-19 19:11:41 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-01-20 10:50:20 -0800 |
commit | a340fe5e4227ebea5493e658eb6289624b07ab0b (patch) | |
tree | d7859ce899772490dad34360a8f74b53ed59b12d /src/i965_video.c | |
parent | aefe198ca427a5ad69717f49948eb3ede713bb28 (diff) |
Use intel_emit_reloc from video to prettify 965 render bind_bo setup.
Diffstat (limited to 'src/i965_video.c')
-rw-r--r-- | src/i965_video.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/i965_video.c b/src/i965_video.c index cd726a28..7cd20f36 100644 --- a/src/i965_video.c +++ b/src/i965_video.c @@ -326,23 +326,6 @@ i965_post_draw_debug(ScrnInfoPtr scrn) #define URB_CS_ENTRIES 0 #define URB_CS_ENTRY_SIZE 0 -/** - * Little wrapper around drm_intel_bo_reloc to return the initial value you - * should stuff into the relocation entry. - * - * If only we'd done this before settling on the library API. - */ -static uint32_t -intel_emit_reloc(drm_intel_bo *bo, uint32_t offset, - drm_intel_bo *target_bo, uint32_t target_offset, - uint32_t read_domains, uint32_t write_domain) -{ - drm_intel_bo_emit_reloc(bo, offset, target_bo, target_offset, - read_domains, write_domain); - - return target_bo->offset + target_offset; -} - static int intel_alloc_and_map(I830Ptr i830, char *name, int size, drm_intel_bo **bop, void *virtualp) |