OK, the problem seems to be that amdgpu_connector_is_dp12_capable returns false because adev->clock.default_dispclk is set to 50000.