[PATCH 6.1 061/101] drm/amdgpu: fix dereference after null check