Fix T72902: Whiskey Lake support

Users reported that Whiskey lake has the same issue as other intel
platforms where an extra glFlush is needed. This change will
add Whiskey Lake to that exception.

Patch provided by Philip Luk
This commit is contained in:
Jeroen Bakker 2020-01-06 12:57:14 +01:00
parent 7f3e121926
commit b7acb8690a
Notes: blender-bot 2023-02-13 23:47:40 +01:00
Referenced by issue #72902, Laggy, freezing UI with Linux, renderer: Mesa DRI Intel(R) HD Graphics (Whiskey Lake 3x8 GT2)
1 changed files with 2 additions and 1 deletions

View File

@ -158,7 +158,8 @@ void gpu_platform_init(void)
if (strstr(renderer, "UHD Graphics") ||
/* Not UHD but affected by the same bugs. */
strstr(renderer, "HD Graphics 530") || strstr(renderer, "Kaby Lake GT2")) {
strstr(renderer, "HD Graphics 530") || strstr(renderer, "Kaby Lake GT2") ||
strstr(renderer, "Whiskey Lake")) {
GPG.device |= GPU_DEVICE_INTEL_UHD;
}
}