[PATCH 4.14 069/323] drm/amdgpu: fix NULL pointer dereference