drm/amdgpu: Add nbio 7.4 support for vega20 (v3)
authorFeifei Xu <Feifei.Xu@amd.com>
Fri, 23 Mar 2018 19:44:28 +0000 (14:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:23 +0000 (11:10 -0500)
commitfe3c948918e7e3d18eed85571d32a2f7c4b63a84
tree91ef11ac659b48921fb43f262d75df35e9ec0f1b
parent25eaa565c47b229962d6c6f2212b224db188aef9
drm/amdgpu: Add nbio 7.4 support for vega20 (v3)

Some register offset in nbio v7.4 are different with v7.0.
We need a seperate nbio_v7_4.c for vega20.

v2: fix doorbell range for sdma (Alex)
v3: squash in static fix (kbuild test robot)

Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@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/nbio_v7_4.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/soc15.h