]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:21:38 +0000 (10:21 +0100)
commit2511a10a9dbda9f997ba05b2e7db720bc07844d5
tree6a492cb511e726b00802cd7164eb32c315ddce39
parent569773e885c249d9f51eb56e772d832f95690bd1
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