[PATCH 5.15 185/484] drm/amd/display: Check for NULL pointer