[PATCH 6.6 080/132] drm/amdgpu: fix dereference after null check