OSDN Git Service

drm/amdgpu: Add GMC 9.0 support (v2)
authorAlex Xie <AlexBin.Xie@amd.com>
Thu, 9 Mar 2017 16:36:26 +0000 (11:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:54:44 +0000 (23:54 -0400)
commite60f8db5e4c85d7f8868a06b02f06c0ae0e4c332
treec7d0024707b7ee7c937ea3042b7b3fa65677d52c
parentc1d83da98070588bc74a1c601981b3e8a87784bb
drm/amdgpu: Add GMC 9.0 support (v2)

On SOC-15 parts, the GMC (Graphics Memory Controller) consists
of two hubs: GFX (graphics and compute) and MM (sdma, uvd, vce).

v2: drop sdma from Makefile, fix duplicate return statement.

Signed-off-by: Alex Xie <AlexBin.Xie@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h [new file with mode: 0644]
drivers/gpu/drm/amd/include/amd_shared.h