Support checking for the Mali-T7xx line of GPUs.

They are similar enough that they will share bugs with their drivers, so make them fall under the same Mali-Txxx umbrella of bug issues.
If there is ever a need in the future for having separate bugs depending on family, we can support that then.
This commit is contained in:
Ryan Houdek 2014-04-11 23:46:44 -05:00
parent ed67cc3fb2
commit a9fa49f34d
3 changed files with 7 additions and 4 deletions

View file

@ -291,9 +291,12 @@ void InitDriverInfo()
}
break;
case DriverDetails::VENDOR_ARM:
if (std::string::npos != srenderer.find("Mali-T6"))
// Currently the Mali-T line has two families in it.
// Mali-T6xx and Mali-T7xx
// These two families are similar enough that they share bugs in their drivers.
if (std::string::npos != srenderer.find("Mali-T"))
{
driver = DriverDetails::DRIVER_ARM_T6XX;
driver = DriverDetails::DRIVER_ARM_TXXX;
// Mali drivers provide no way to explicitly find out what video driver is running.
// This is similar to how we can't find the Nvidia driver version in Windows.
// Good thing is that ARM introduces a new video driver about once every two years so we can