Chip designer Advanced Micro Devices (AMD) has been able to skirt most of the problems linked with the global chip supply shortage by forecasting demand years in advance.