OSDN Git Service

drm/amdkfd: Set priv_queue to NULL after it is freed
authorOak Zeng <Oak.Zeng@amd.com>
Thu, 15 Jul 2021 22:02:46 +0000 (17:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:08:00 +0000 (10:08 -0400)
commit78ccea9ff2ad6fb5c73f146b46193ef15d6ede5f
tree73eb3ac6e4509f975ce799c0862be40b2cc1bf87
parent9af5379c85087a0a0cbab8a4e39454a66b5f0b18
drm/amdkfd: Set priv_queue to NULL after it is freed

This variable will be used to determine whether packet
manager is initialized or not, in a future patch.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Acked-by: Christian Konig <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c