<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-05-12 17:39 GMT+08:00 Michel Dänzer <span dir="ltr"><<a href="mailto:michel@daenzer.net" target="_blank">michel@daenzer.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 12.05.2016 17:58, Yu, Qiang wrote:<br>
> Oh, what a crazy idea. So you mean it can work like this?<br>
><br>
> 1. use the libgbm/gbm_dri/libEGL/libGLES from mesa which will load<br>
> radeonsi_dri.so<br>
><br>
> 2. libGL/amdgpu_dri.so from amdgpu-pro<br>
<br>
</span>glamor uses libEGL/GBM and libGL, so this could only work with Mesa's<br>
libGL (or the GLVND one in the future). Can amdgpu_dri.so work with<br>
Mesa's libGL right now?<br></blockquote><div><br></div><div>I think amdgpu_dri.so is not completely compatible with Mesa's libGL (considering some special feature requirements for amdgpu-pro and Mesa's evolving). Another problem is that Mesa's libgbm cannot share necessary buffer attributes (such as tiling info, etc) with amdgpu_dri.so at this moment.</div><div>Â </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Also, I'm afraid there might still be cases where amdgpu-pro supports<br>
new hardware before radeonsi, in which case amdgpu_dri.so needs to<br>
support GBM for glamor and EGL in general.<br></blockquote><div><br></div><div>IIRC radeonsi can support Southern Islands and later ASICs. I don't think amdgpu-pro can support pre-GCN products easily, given current amdgpu kernel driver support.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Also note that Nvidia developers were talking about possibly creating an<br>
nvidia specific GBM backend recently on the wayland-devel mailing list.<br></blockquote><div><br></div><div>Will nvidia open source their code for GBM backend?</div><div>Â </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Earthling Michel Dänzer        |        <a href="http://www.amd.com" rel="noreferrer" target="_blank">http://www.amd.com</a><br>
Libre software enthusiast       |       Mesa and X developer<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div></div>