[PATCH AUTOSEL 6.0 13/44] drm/amd/display: Fix variable dereferenced before check