diff options
author | Christian König <deathsimple@vodafone.de> | 2012-05-09 09:34:53 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-09 12:22:35 -0400 |
commit | 2e0d99103e7b62ad27dcbc8c92337687dd8294e6 (patch) | |
tree | 694b08c575a0dbc36c3ac6be116e876ccee64c4d /drivers/gpu/drm/radeon/radeon_gart.c | |
parent | e6661a96647447aee83db976e8aad3d3a5c30cbd (diff) |
drm/radeon: make sa bo a stand alone object
Allocating and freeing it seperately.
Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_gart.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_gart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c index 4a5d9d4ef7ee..c5789efb78a5 100644 --- a/drivers/gpu/drm/radeon/radeon_gart.c +++ b/drivers/gpu/drm/radeon/radeon_gart.c | |||
@@ -404,8 +404,8 @@ retry: | |||
404 | radeon_vm_unbind(rdev, vm_evict); | 404 | radeon_vm_unbind(rdev, vm_evict); |
405 | goto retry; | 405 | goto retry; |
406 | } | 406 | } |
407 | vm->pt = radeon_sa_bo_cpu_addr(&vm->sa_bo); | 407 | vm->pt = radeon_sa_bo_cpu_addr(vm->sa_bo); |
408 | vm->pt_gpu_addr = radeon_sa_bo_gpu_addr(&vm->sa_bo); | 408 | vm->pt_gpu_addr = radeon_sa_bo_gpu_addr(vm->sa_bo); |
409 | memset(vm->pt, 0, RADEON_GPU_PAGE_ALIGN(vm->last_pfn * 8)); | 409 | memset(vm->pt, 0, RADEON_GPU_PAGE_ALIGN(vm->last_pfn * 8)); |
410 | 410 | ||
411 | retry_id: | 411 | retry_id: |