drm/amdgpu/nbio6: Correct PCIE_INDEX/DATA pair used for smn register accessing
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 19 Mar 2018 09:28:28 +0000 (17:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 04:43:25 +0000 (23:43 -0500)
commitbd08a8d9e8dd6b77a990372fc1233765ca9175e9
tree94a3778f6fdac543e33c787c2be273a2567485c3
parentf004938f789963a0d3023da6e528f53bfb9f4429
drm/amdgpu/nbio6: Correct PCIE_INDEX/DATA pair used for smn register accessing

PCIE_INDEX2/DATA2 pair will be used for smn register accessing since from vega.
PCIE_INDEX/DATA pair should be reserved for smu

Signed-off-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/nbio_v6_1.c