]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.
authorCandice Li <candice.li@amd.com>
Thu, 18 Aug 2022 02:47:09 +0000 (10:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2022 10:17:04 +0000 (12:17 +0200)
commitc2a10b2414c970547dfd1fa3ffc4eadf44291b0c
tree8608908928637c0484d74ae9cf39d985a627333b
parentf57ca0e2cd1e5b5275a04f669d2710a1cd47c598
drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.

[ Upstream commit c351938350ab9b5e978dede2c321da43de7eb70c ]

No need to set up rb when no gfx rings.

Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c