]> git.baikalelectronics.ru Git - kernel.git/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)
commitcffcd35d511e1b2dde965281e3992472d23ad9e6
treecff35736063dd85bd8652c9f77c52cd1a4dffba3
parentf86323c296322e0575edf5146816d5d791901521
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