[PATCH AUTOSEL 6.1 25/29] drm/amdgpu: Add NULL checks for function pointers