Commit b94a78c4 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

[libkwineffects] Detect more AMD GPUs with GFX9 (Vega) chips

Summary: ASIC family names are taken from Mesa's source code.

Test Plan: Compiles.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, romangg, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D27176
parent 49b5e227
...@@ -221,7 +221,10 @@ static ChipClass detectRadeonClass(const QByteArray &chipset) ...@@ -221,7 +221,10 @@ static ChipClass detectRadeonClass(const QByteArray &chipset)
if (chipset.contains("VEGA10") || if (chipset.contains("VEGA10") ||
chipset.contains("VEGA12") || chipset.contains("VEGA12") ||
chipset.contains("VEGA20") || chipset.contains("VEGA20") ||
chipset.contains("RAVEN")) { chipset.contains("RAVEN") ||
chipset.contains("RAVEN2") ||
chipset.contains("RENOIR") ||
chipset.contains("ARCTURUS")) {
return Vega; return Vega;
} }
...@@ -885,6 +888,9 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface) ...@@ -885,6 +888,9 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
m_renderer.contains("VEGA12") || m_renderer.contains("VEGA12") ||
m_renderer.contains("VEGA20") || m_renderer.contains("VEGA20") ||
m_renderer.contains("RAVEN") || m_renderer.contains("RAVEN") ||
m_renderer.contains("RAVEN2") ||
m_renderer.contains("RENOIR") ||
m_renderer.contains("ARCTURUS") ||
m_renderer.contains("NAVI10") || m_renderer.contains("NAVI10") ||
m_renderer.contains("NAVI12") || m_renderer.contains("NAVI12") ||
m_renderer.contains("NAVI14"))) { m_renderer.contains("NAVI14"))) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment