drm/amdgpu: only check mmBIF_IOV_FUNC_IDENTIFIER on tonga/fiji
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Dec 2017 14:52:31 +0000 (09:52 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Feb 2018 09:19:44 +0000 (10:19 +0100)
commit30537deb089c4a695d27e6a39c914b6418a5cfc6
tree8e6124d6c796b6fc05fd51c9223b256a8a2914e0
parent46c1e4023b58a910cea8797cb1c2bd9b784a835c
drm/amdgpu: only check mmBIF_IOV_FUNC_IDENTIFIER on tonga/fiji

commit 57ad33a307bf85cafda3a77c03a555c9f9ee4139 upstream.

We only support SR-IOV on tonga/fiji.  Don't check this register
on other VI parts.

Fixes: 048765ad5af7c89 (amdgpu: fix asic initialization for virtualized environments (v2))
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/vi.c