diff options
author | Marek Olšák <[email protected]> | 2011-08-04 01:37:33 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-08-16 09:15:10 +0200 |
commit | e6fb62594fca714883af9bba9795be8838c16900 (patch) | |
tree | a89b19e698a8b4050dc55c437eba9df4ba927ca8 /src/gallium/winsys/radeon/drm | |
parent | 685b8345a8ff69460f0c62c678493527b59b18a9 (diff) |
r600g: emit CS using radeon_winsys
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_cs.c | 5 | ||||
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_winsys.h | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c index 9a1e16957d2..09befb39b11 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c @@ -473,8 +473,7 @@ static boolean radeon_bo_is_referenced(struct radeon_winsys_cs *rcs, static unsigned trans_add_reloc(struct radeon_winsys_cs *rcs, struct radeon_winsys_cs_handle *buf, enum radeon_bo_domain rd, - enum radeon_bo_domain wd, - void **reloc_list, unsigned *reloc_count) + enum radeon_bo_domain wd) { struct radeon_drm_cs *cs = radeon_drm_cs(rcs); struct radeon_bo *bo = (struct radeon_bo*)buf; @@ -487,8 +486,6 @@ static unsigned trans_add_reloc(struct radeon_winsys_cs *rcs, if (added_domains & RADEON_DOMAIN_VRAM) cs->csc->used_vram += bo->size; - *reloc_list = cs->csc->relocs; - *reloc_count = cs->csc->crelocs; return index; } diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h index 8e81fa1e301..073b6aad79a 100644 --- a/src/gallium/winsys/radeon/drm/radeon_winsys.h +++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h @@ -332,8 +332,7 @@ struct radeon_winsys { unsigned (*trans_add_reloc)(struct radeon_winsys_cs *cs, struct radeon_winsys_cs_handle *buf, enum radeon_bo_domain rd, - enum radeon_bo_domain wd, - void **reloc_list, unsigned *reloc_count); + enum radeon_bo_domain wd); }; #endif |