<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 20, 2018 at 4:16 PM, Christian König <span dir="ltr"><<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div class="m_4643584645760816653moz-cite-prefix">That's what I meant with use up the
      otherwise unused VRAM. I don't see any disadvantage of always
      setting GTT as second domain on APUs.<br>
      <br>
      My assumption was that we dropped this in userspace for
      displayable surfaces, but Marek proved that wrong.<br>
      <br>
      So what we should do is actually to add GTT as fallback to all BOs
      on APUs in Mesa and only make sure that the kernel is capable of
      handling GTT with optimal performance (e.g. have user huge pages
      etc..).<span class="HOEnZb"><font color="#888888"><br></font></span></div></div></blockquote><div><br></div><div>VRAM|GTT is practically as good as GTT. VRAM with BO priorities and eviction throttling is the true "VRAM|GTT".<br><br></div><div>I don't know how else to make use of VRAM intelligently.</div><div><br></div><div>Marek<br></div></div></div></div>