drm/amdgpu/discovery: fix hwid for nbio
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Wed, 27 Mar 2019 04:19:20 +0000 (12:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:58:21 +0000 (18:58 -0500)
Properly set this.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index ac065ab91c4b06e8b6c2a6aea0e61c8d97ff243d..ec14fd1350e26220d73f0bd1202e26d5b0863656 100644 (file)
@@ -117,7 +117,7 @@ static int hw_id_map[MAX_HWIP] = {
        [SDMA1_HWIP]    = SDMA1_HWID,
        [MMHUB_HWIP]    = MMHUB_HWID,
        [ATHUB_HWIP]    = ATHUB_HWID,
-       [NBIO_HWIP]     = DBGU_NBIO_HWID,
+       [NBIO_HWIP]     = NBIF_HWID,
        [MP0_HWIP]      = MP0_HWID,
        [MP1_HWIP]      = MP1_HWID,
        [UVD_HWIP]      = UVD_HWID,