diff options
author | Max Dmytrychenko <[email protected]> | 2015-09-22 20:20:19 +0200 |
---|---|---|
committer | Max Dmytrychenko <[email protected]> | 2015-09-22 20:20:19 +0200 |
commit | ae593691f668fd20cbaafedd263d43b5ead96cb7 (patch) | |
tree | e26fdf4812cef4f5b5eb682ad61463220797a404 /libhb/qsv_common.c | |
parent | 1be374b5dc275a6e66b1d660ed093234582afa63 (diff) |
libhb: Skylake microarchitecture detection, RB 859
Diffstat (limited to 'libhb/qsv_common.c')
-rw-r--r-- | libhb/qsv_common.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index 60d371f82..12f4d5e7b 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -108,6 +108,8 @@ enum QSV_G2, // Ivy Bridge or equivalent QSV_G3, // Haswell or equivalent QSV_G4, // Broadwell or equivalent + QSV_G5, // Skylake or equivalent + QSV_FU, // always last (future processors) }; static int qsv_hardware_generation(int cpu_platform) { @@ -124,8 +126,11 @@ static int qsv_hardware_generation(int cpu_platform) case HB_CPU_PLATFORM_INTEL_HSW: return QSV_G3; case HB_CPU_PLATFORM_INTEL_BDW: - default: return QSV_G4; + case HB_CPU_PLATFORM_INTEL_SKL: + return QSV_G5; + default: + return QSV_FU; } } |