[PATCH 5.15 058/102] drm/amdgpu: add missing NULL check