OSDN Git Service

drm/amdgpu: initialize the vmid_wait with the stub fence
authorChristian König <christian.koenig@amd.com>
Tue, 1 Mar 2022 14:13:15 +0000 (15:13 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Mar 2022 18:03:30 +0000 (13:03 -0500)
commit48e9fbd1a28480caf2ac5ec6fcb79ac221735c5d
tree5163b4058319929ea5d68ef0b6254f31106d6a9d
parent6103b2f24e4a9716ca3f5de654964f2a083086be
drm/amdgpu: initialize the vmid_wait with the stub fence

This way we don't need to check for NULL any more.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c