[PATCH AUTOSEL 5.15 04/10] drm/amd/display: Add null checker before passing variables