[PATCH 6.17 108/184] drm/amd/display: increase max link count and fix link->enc NULL pointer access