drm/amdgpu: add gfxhub v2.0 block for navi10 (v4)
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 4 Mar 2019 08:18:27 +0000 (16:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:35:29 +0000 (21:35 -0500)
commit770b93e9ee842f02529e12ca84076d0ee5a658ff
tree04d8ed1777e521cd66f14be0cada01d144431f70
parent7f95167ce131674ab77b46e4064f053e6c6f1552
drm/amdgpu: add gfxhub v2.0 block for navi10 (v4)

gfxhub is the memory controller hub for gfx and sdma.

v1: add place holder and initial basic functions (Ray)
v2: replace the refernce to legacy mc structure with gmc structure
    remove the direct use of gart.table_addr (Hawking)
v3: switch to use amdgpu_gmc_pd_addr (Hawking)
v4: squash in updates (Alex)

Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.h [new file with mode: 0644]