]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add asic callback to get memsize register
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Mar 2017 22:26:10 +0000 (17:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:41 +0000 (23:53 -0400)
commit7675db61f6eb19a4d23fc592009b3334d352e9f9
treef8ca722ed54a90ebcf806bf60c642826dde5b13b
parent9044db96934845421fcf43d4f7abe2384044f2a9
drm/amdgpu: add asic callback to get memsize register

Newer asics use different registers so abstract it.

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