D27168: [libkwineffects] Detect AMD Navi GPUs

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag added inline comments.

INLINE COMMENTS

> davidedmundson wrote in kwinglplatform.cpp:229
> Where did you get these names from?

From Mesa's source code.

mesa/src/gallium/drivers/radeonsi/si_get.c: see si_init_renderer_string()
mesa/src/amd/common/ac_gpu_info.c: see ac_query_gpu_info()
mesa/src/amd/common/amd_family.h: list of family names and chip classes
linux/drivers/gpu/drm/amd/amdkfd/kfd_device.c

The key point is that RadeonSI puts the name of GPU's ASIC family in the renderer string.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D27168

To: zzag, #kwin
Cc: davidedmundson, kwin, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.