D27168: [libkwineffects] Detect AMD Navi GPUs

Vlad Zahorodnii noreply at phabricator.kde.org
Wed Feb 5 19:49:52 GMT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200205/2781d58a/attachment.html>


More information about the kwin mailing list