[PATCH 6.10 356/809] drm/amd/display: Add null check before access structs