<div dir="ltr">Thanks for this. Sorry I'm just now seeing it. I'll try this out on the armada+etnaviv configuration.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 24, 2019 at 5:35 PM Rob Herring <<a href="mailto:robh@kernel.org">robh@kernel.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This series aims to make supporting new platforms containing <br>
renderonly GPUs easier with less copy-n-paste. This hasn't been a big <br>
issue so far as the current renderonly drivers (vc4 and etnaviv) only <br>
exists on a few platforms. This is changing with i.MX+freedreno, <br>
armada+etnaviv and a slew of platforms using Mali lima and panfrost <br>
drivers.<br>
<br>
I've taken the kmsro winsys from Eric, extended the pipe-loader to <br>
fall back to kmsro, added etnaviv support, and switched imx to use <br>
kmsro.<br>
<br>
I've tested this with the panfrost tree. Help testing on i.MX would be <br>
nice. A git branch is here[1].<br>
<br>
Rob<br>
<br>
[1] <a href="https://github.com/robherring/mesa" rel="noreferrer" target="_blank">https://github.com/robherring/mesa</a> winsys-renderonly<br>
<br>
Eric Anholt (1):<br>
pl111: Rename the pl111 driver to "kmsro".<br>
<br>
Rob Herring (3):<br>
pipe-loader: Fallback to kmsro driver when no matching driver name<br>
found<br>
kmsro: Add etnaviv renderonly support<br>
Switch imx to kmsro and remove the imx winsys<br>
<br>
.travis.yml | 2 +-<br>
Android.mk | 7 ++-<br>
Makefile.am | 2 +-<br>
<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> | 28 ++++-------<br>
meson.build | 12 ++---<br>
meson_options.txt | 4 +-<br>
src/gallium/Android.mk | 3 +-<br>
src/gallium/Makefile.am | 8 +--<br>
.../auxiliary/pipe-loader/pipe_loader_drm.c | 18 +++----<br>
.../auxiliary/target-helpers/drm_helper.h | 35 +++----------<br>
.../target-helpers/drm_helper_public.h | 2 +-<br>
src/gallium/drivers/imx/Automake.inc | 9 ----<br>
.../drivers/{pl111 => kmsro}/Android.mk | 6 +--<br>
src/gallium/drivers/kmsro/Automake.inc | 9 ++++<br>
.../drivers/{imx => kmsro}/Makefile.am | 4 +-<br>
.../drivers/{pl111 => kmsro}/Makefile.sources | 0<br>
src/gallium/drivers/pl111/Automake.inc | 9 ----<br>
src/gallium/drivers/pl111/Makefile.am | 8 ---<br>
src/gallium/meson.build | 23 ++++-----<br>
src/gallium/targets/dri/Makefile.am | 3 +-<br>
src/gallium/targets/dri/meson.build | 8 +--<br>
src/gallium/targets/dri/target.c | 2 +-<br>
src/gallium/winsys/imx/drm/Android.mk | 40 ---------------<br>
src/gallium/winsys/imx/drm/Makefile.am | 35 -------------<br>
src/gallium/winsys/imx/drm/Makefile.sources | 3 --<br>
src/gallium/winsys/imx/drm/imx_drm_public.h | 34 -------------<br>
src/gallium/winsys/imx/drm/imx_drm_winsys.c | 50 -------------------<br>
src/gallium/winsys/imx/drm/meson.build | 33 ------------<br>
.../winsys/{pl111 => kmsro}/drm/Android.mk | 2 +-<br>
.../winsys/{pl111 => kmsro}/drm/Makefile.am | 12 ++++-<br>
src/gallium/winsys/kmsro/drm/Makefile.sources | 3 ++<br>
.../drm/kmsro_drm_public.h} | 8 +--<br>
.../drm/kmsro_drm_winsys.c} | 42 +++++++++++-----<br>
.../winsys/{pl111 => kmsro}/drm/meson.build | 23 ++++++---<br>
src/gallium/winsys/pl111/drm/Makefile.sources | 3 --<br>
35 files changed, 130 insertions(+), 360 deletions(-)<br>
delete mode 100644 src/gallium/drivers/imx/Automake.inc<br>
rename src/gallium/drivers/{pl111 => kmsro}/Android.mk (91%)<br>
create mode 100644 src/gallium/drivers/kmsro/Automake.inc<br>
rename src/gallium/drivers/{imx => kmsro}/Makefile.am (55%)<br>
rename src/gallium/drivers/{pl111 => kmsro}/Makefile.sources (100%)<br>
delete mode 100644 src/gallium/drivers/pl111/Automake.inc<br>
delete mode 100644 src/gallium/drivers/pl111/Makefile.am<br>
delete mode 100644 src/gallium/winsys/imx/drm/Android.mk<br>
delete mode 100644 src/gallium/winsys/imx/drm/Makefile.am<br>
delete mode 100644 src/gallium/winsys/imx/drm/Makefile.sources<br>
delete mode 100644 src/gallium/winsys/imx/drm/imx_drm_public.h<br>
delete mode 100644 src/gallium/winsys/imx/drm/imx_drm_winsys.c<br>
delete mode 100644 src/gallium/winsys/imx/drm/meson.build<br>
rename src/gallium/winsys/{pl111 => kmsro}/drm/Android.mk (97%)<br>
rename src/gallium/winsys/{pl111 => kmsro}/drm/Makefile.am (87%)<br>
create mode 100644 src/gallium/winsys/kmsro/drm/Makefile.sources<br>
rename src/gallium/winsys/{pl111/drm/pl111_drm_public.h => kmsro/drm/kmsro_drm_public.h} (89%)<br>
rename src/gallium/winsys/{pl111/drm/pl111_drm_winsys.c => kmsro/drm/kmsro_drm_winsys.c} (63%)<br>
rename src/gallium/winsys/{pl111 => kmsro}/drm/meson.build (76%)<br>
delete mode 100644 src/gallium/winsys/pl111/drm/Makefile.sources<br>
<br>
-- <br>
2.19.1<br>
<br>
</blockquote></div>