[PATCH AUTOSEL 6.6 12/20] drm/amd/display: Add null checker before passing variables