[PATCH 5.10 137/352] drm/amd/display: Check for NULL pointer