]> 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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Aug 2022 21:06:29 +0000 (17:06 -0400)
commitc351938350ab9b5e978dede2c321da43de7eb70c
treecff35736063dd85bd8652c9f77c52cd1a4dffba3
parentf5994da72ba124a3d0463672fdfbec073e3bb72f
drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.

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>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c