drm/amdgpu: abstract block size to one function
authorChunming Zhou <David1.Zhou@amd.com>
Mon, 27 Mar 2017 03:36:57 +0000 (11:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:29 +0000 (23:55 -0400)
commita1adf8bef2f3c635dca372d36737c70e6d32bc95
treee2e341022b6ed54ce7ac773ad867f0e3ea7ad49c
parentf566ceb165f8f3bf0e7492a3a8d5eefed9e499a6
drm/amdgpu: abstract block size to one function

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c