]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: check SMU NULL ptr on gfx hw init
authorLikun Gao <Likun.Gao@amd.com>
Thu, 15 Aug 2019 07:46:10 +0000 (15:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 May 2020 19:19:07 +0000 (15:19 -0400)
commit011b4cca1fd3fa5d637279ff073e0c95bb3d903d
tree8e5ae1ade544e2054963d7b036827c8a4b8cbd98
parent2cc5da19234a3ac5724afc371958b712ffc6ddb5
drm/amdgpu: check SMU NULL ptr on gfx hw init

Check SMU NULL ptr before load smu fw.

Signed-off-by: Likun Gao <Likun.Gao@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_v10_0.c