drm/amdgpu: add mmhub v2 block for navi10 (v4)
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 4 Mar 2019 05:49:28 +0000 (13:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:35:29 +0000 (21:35 -0500)
commitadc43c1b5e47856b6348c14b93a7ae5f44d670b3
tree11d2a3eb359f6417a7ba6524634ca9038e47b2f6
parent770b93e9ee842f02529e12ca84076d0ee5a658ff
drm/amdgpu: add mmhub v2 block for navi10 (v4)

mmhub is the memory controller hub for multi-media (VCN).

v1: add place holder and initial functions (Ray)
v2: replace legacy amdgpu_mc structure with amdgpu_gmc (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/mmhub_v2_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h [new file with mode: 0644]