diff options
author | Christian König <christian.koenig@amd.com> | 2013-04-14 12:47:59 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-04-22 10:39:11 -0400 |
commit | d7c605a20ee86a4e8f19ca7b33f7c4f7ba0468bc (patch) | |
tree | ab429fdc575556d28e9a9b70ac0e6d043db48816 /drivers/gpu/drm/radeon/radeon_uvd.c | |
parent | a92c7d554fbfa5ec1008e4c856a2206c2cce45a4 (diff) | |
download | op-kernel-dev-d7c605a20ee86a4e8f19ca7b33f7c4f7ba0468bc.zip op-kernel-dev-d7c605a20ee86a4e8f19ca7b33f7c4f7ba0468bc.tar.gz |
drm/radeon: fix alignment of UVD fence
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_uvd.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_uvd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_uvd.c b/drivers/gpu/drm/radeon/radeon_uvd.c index 2fb4d6c..15580fb 100644 --- a/drivers/gpu/drm/radeon/radeon_uvd.c +++ b/drivers/gpu/drm/radeon/radeon_uvd.c @@ -107,7 +107,7 @@ int radeon_uvd_init(struct radeon_device *rdev) platform_device_unregister(pdev); - bo_size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size + 4) + + bo_size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size + 8) + RADEON_UVD_STACK_SIZE + RADEON_UVD_HEAP_SIZE; r = radeon_bo_create(rdev, bo_size, PAGE_SIZE, true, RADEON_GEM_DOMAIN_VRAM, NULL, &rdev->uvd.vcpu_bo); |