[PATCH 6.4 205/292] drm/amd/display: add a NULL pointer check