[PATCH OLK-6.6 066/525] drm/amdgpu: Fix potential null pointer derefernce