drm/amdgpu: recalculate VCE firmware BO size

Firmware required BO size changes in terms of ASIC family

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
Leo Liu
2015-05-06 14:31:27 -04:00
committed by Alex Deucher
parent 15a16ff606
commit e982262214
5 changed files with 20 additions and 15 deletions

View File

@@ -1664,8 +1664,6 @@ struct amdgpu_uvd {
* VCE
*/
#define AMDGPU_MAX_VCE_HANDLES 16
#define AMDGPU_VCE_STACK_SIZE (1024*1024)
#define AMDGPU_VCE_HEAP_SIZE (4*1024*1024)
#define AMDGPU_VCE_FIRMWARE_OFFSET 256
struct amdgpu_vce {