drm/amdgpu: use a define for the memory size of the vga emulator
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jul 2020 18:10:46 +0000 (14:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:29:28 +0000 (17:29 -0400)
commit81b54fb7a2c038e8eaae7036ad973e913463c34d
tree78b6e365f1178fdec578ff796681b4e625215ff1
parentadb5be812251cbcae364e5016ad71c955faedbd8
drm/amdgpu: use a define for the memory size of the vga emulator

Rather than open coding it everywhere.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c