[PATCH 5.10 319/563] drm/amd/display: check top_pipe_to_program pointer