Refactor the compatible present mode functionality into a new class compatible_present_modes. Change-Id: I801f41ba16d9c5693f1aaa1e95e9eb2c9c4f5b59 Signed-off-by: Dennis Tsiang <dennis.tsiang@arm.com> Signed-off-by: Fufu Fang <fufu.fang@arm.com>