drm/radeon: rework VCE FW size calculation
authorChristian König <christian.koenig@amd.com>
Mon, 11 May 2015 20:01:47 +0000 (22:01 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 May 2015 14:31:20 +0000 (10:31 -0400)
commitfa0cf2f246bb1cac502ba7c36082ad7a7b6deb40
tree8124bdd772171af1ab1e8f1e37c4b5385f65261d
parent72b9076b2887add930d3b102760f09d02ffbfbe7
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>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_vce.c
drivers/gpu/drm/radeon/vce_v2_0.c