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 10:31:20 -0400 |
commit | fa0cf2f246bb1cac502ba7c36082ad7a7b6deb40 (patch) | |
tree | 8124bdd772171af1ab1e8f1e37c4b5385f65261d /drivers/gpu/drm/radeon/radeon.h | |
parent | 72b9076b2887add930d3b102760f09d02ffbfbe7 (diff) | |
download | op-kernel-dev-fa0cf2f246bb1cac502ba7c36082ad7a7b6deb40.zip op-kernel-dev-fa0cf2f246bb1cac502ba7c36082ad7a7b6deb40.tar.gz |
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 352870c..5999560 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; |