Also disable QSV hardware support on Bonnell-based microprocessors. Some Cloverview processors apparently support media SDK with third-party hardware, and until we can access hardware to test and fix the crashes we have on that platform, let's not enable it.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5942
b64f7644-9d1e-0410-96f1-
a4d463321fa5
{
// Intel 64 and IA-32 Architectures Software Developer's Manual, Vol. 3C
// Table 35-1: CPUID Signature Values of DisplayFamily_DisplayModel
+ case HB_CPU_PLATFORM_INTEL_BNL:
+ return "Intel microarchitecture Bonnell";
case HB_CPU_PLATFORM_INTEL_SNB:
return "Intel microarchitecture Sandy Bridge";
case HB_CPU_PLATFORM_INTEL_IVB:
return "Intel microarchitecture Ivy Bridge";
+ case HB_CPU_PLATFORM_INTEL_SLM:
+ return "Intel microarchitecture Silvermont";
case HB_CPU_PLATFORM_INTEL_HSW:
return "Intel microarchitecture Haswell";
{
switch (model)
{
+ case 0x1C:
+ case 0x26:
+ case 0x27:
+ case 0x35:
+ case 0x36:
+ hb_cpu_info.platform = HB_CPU_PLATFORM_INTEL_BNL;
+ break;
case 0x2A:
case 0x2D:
hb_cpu_info.platform = HB_CPU_PLATFORM_INTEL_SNB;
case 0x3E:
hb_cpu_info.platform = HB_CPU_PLATFORM_INTEL_IVB;
break;
+ case 0x37:
+ case 0x4A:
+ case 0x4D:
+ hb_cpu_info.platform = HB_CPU_PLATFORM_INTEL_SLM;
+ break;
case 0x3C:
case 0x45:
case 0x46:
{
// list of microarchitecture codenames
HB_CPU_PLATFORM_UNSPECIFIED = 0,
+ HB_CPU_PLATFORM_INTEL_BNL,
HB_CPU_PLATFORM_INTEL_SNB,
HB_CPU_PLATFORM_INTEL_IVB,
+ HB_CPU_PLATFORM_INTEL_SLM,
HB_CPU_PLATFORM_INTEL_HSW,
};
int hb_get_cpu_count();
if (MFXInit(MFX_IMPL_HARDWARE_ANY|MFX_IMPL_VIA_ANY,
&qsv_minimum_version, &session) == MFX_ERR_NONE)
{
- qsv_hardware_available = 1;
- preferred_implementation = MFX_IMPL_HARDWARE_ANY|MFX_IMPL_VIA_ANY;
- // our minimum is supported, but query the actual version
- MFXQueryVersion(session, &qsv_hardware_version);
+ // Cloverview (Bonnell microarchitecture) supports MSDK via third-party
+ // hardware - we don't support this configuration for the time being
+ if (hb_get_cpu_platform() != HB_CPU_PLATFORM_INTEL_BNL)
+ {
+ qsv_hardware_available = 1;
+ preferred_implementation = MFX_IMPL_HARDWARE_ANY|MFX_IMPL_VIA_ANY;
+ // our minimum is supported, but query the actual version
+ MFXQueryVersion(session, &qsv_hardware_version);
+ }
MFXClose(session);
}