diff options
author | Christian König <christian.koenig@amd.com> | 2015-05-11 22:01:47 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-05-26 16:31:20 +0200 |
commit | fa0cf2f246bb1cac502ba7c36082ad7a7b6deb40 (patch) | |
tree | 8124bdd772171af1ab1e8f1e37c4b5385f65261d /drivers/gpu/drm/radeon/radeon.h | |
parent | drm/radeon: add a GPU reset counter queryable by userspace (diff) | |
download | linux-fa0cf2f246bb1cac502ba7c36082ad7a7b6deb40.tar.xz linux-fa0cf2f246bb1cac502ba7c36082ad7a7b6deb40.zip |
drm/radeon: rework VCE FW size calculation
Previously we were completely over allocating, fix this
by actually implementing the size calculation.
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.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 352870cbb8b8..5999560d4284 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -1709,8 +1709,6 @@ int radeon_uvd_send_upll_ctlreq(struct radeon_device *rdev, * VCE */ #define RADEON_MAX_VCE_HANDLES 16 -#define RADEON_VCE_STACK_SIZE (1024*1024) -#define RADEON_VCE_HEAP_SIZE (4*1024*1024) struct radeon_vce { struct radeon_bo *vcpu_bo; |