OSDN Git Service

drm/amdgpu: Add NBIO SMN headers v2
authorKent Russell <kent.russell@amd.com>
Mon, 7 Jan 2019 11:02:06 +0000 (06:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:53 +0000 (15:04 -0500)
commita0bb79e2559c9330c82080d6e4f8c762d72ed0f1
tree1adf7fbd88e167d71a23ee9980e05e1bfc827952
parent22d6575b8db59097655797c740bf840a616a6816
drm/amdgpu: Add NBIO SMN headers v2

We need these offsets for PCIE perf counters, so include them as well as
the the previously-used defines from the nbio_*.c files

v2: Return NBIF definitions back to previous files

Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
drivers/gpu/drm/amd/include/asic_reg/nbio/nbio_6_1_smn.h [new file with mode: 0644]
drivers/gpu/drm/amd/include/asic_reg/nbio/nbio_7_0_smn.h [new file with mode: 0644]
drivers/gpu/drm/amd/include/asic_reg/nbio/nbio_7_4_0_smn.h [new file with mode: 0644]