<div dir="ltr"><div>Hey Jian-Rong,</div><div><br></div><div>Will gfx9 get support from KMD and LLPC by the time gfx10 releases, or is it only going to be a gfx10-and-forward feature?</div><div><br></div><div>If not, is there something missing in gfx9 hardware? Are you allowed to say?<br></div><div><br></div><div>Thanks,</div><div>Jakub<br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 15 Aug 2018 at 08:36 Jin, Jian-Rong <<a href="mailto:Jian-Rong.Jin@amd.com" target="_blank">Jian-Rong.Jin@amd.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jakub。<br>
Both KMD and LLPC are not ready to support NGG for gfx9. We are going to support NGG in amdvlk for next generation GPU.<br>
<br>
Thanks<br>
Jian-Rong JIN<br>
<br>
-----Original Message-----<br>
From: amd-gfx <<a href="mailto:amd-gfx-bounces@lists.freedesktop.org" target="_blank">amd-gfx-bounces@lists.freedesktop.org</a>> On Behalf Of Jakub Okoński<br>
Sent: 2018年8月14日 21:31<br>
To: <a href="mailto:amd-gfx@lists.freedesktop.org" target="_blank">amd-gfx@lists.freedesktop.org</a><br>
Subject: Making a GDS Allocation for NGG<br>
<br>
Hi folks,<br>
<br>
I was trying to play around with NGG on Vega using the open source AMDVLK stack.<br>
After fetching all the code, I disabled an override in PAL, under gfx9SettingsLoader.cpp that disables the NGG setting. I've put a new option in my<br>
amdPalSettings.cfg: `NggMode,7` and that was enough to enable it.<br>
<br>
When I ran a small vulkan application, it crashed with a "Not implemented" error in Pal::Linux::Device::AllocateGds. The comment there says:<br>
<br>
// TODO: implement it once amdgpu is ready.<br>
<br>
I couldn't find anything specific to GDS allocation in upstream kernel, so I looked at agd5f/amd-staging-drm-next and found some code related to AMDGPU_GEM_DOMAIN_GDS and allocating a bo object. This is in amdgpu_gem_create_ioctl, so I think it's accessible to userspace, with a small change in libdrm, probably.<br>
<br>
Is this what is needed to make a GDS allocation that NGG would accept, or is it unrelated? Do you know if there are any other blockers for NGG besides this?<br>
<br>
Regards,<br>
Jakub<br>
_______________________________________________<br>
amd-gfx mailing list<br>
<a href="mailto:amd-gfx@lists.freedesktop.org" target="_blank">amd-gfx@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</blockquote></div></div>