[PATCH 6.16 293/570] drm/amd/display: add null check