]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: skip locking delayed work if not initialized.
authorYuBiao Wang <YuBiao.Wang@amd.com>
Thu, 5 Aug 2021 02:32:40 +0000 (10:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Aug 2021 19:42:30 +0000 (15:42 -0400)
commitd36c932970007d703d7387b518d8ac2b33dcc41d
tree8f735ef238571db9f3e290828f7b538e1e244394
parent431826dc3a630d07a3f4930b4d7b8af886511edb
drm/amd/amdgpu: skip locking delayed work if not initialized.

When init failed in early init stage, amdgpu_object has
not been initialized, so hasn't the ttm delayed queue functions.

Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Reviewed-by: Emily.Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c