[PATCH 6.6 060/189] drm/amd/display: Add null checker before passing variables