]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4bde1fe275f3cdffffdf8b55a71fa22ad4cf9651
tree78b6e365f1178fdec578ff796681b4e625215ff1
parentfc89f6a1537d2ad2fe6fc2cf7767402459da0388
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