]> 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)
commit703f26d8bbe9436c8813612a91acfbfe4de72e64
treecff35736063dd85bd8652c9f77c52cd1a4dffba3
parentb85c34426d8723cf7d78bdae5b6a0309daa7b01a
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