<div dir="ltr">Hi Robert,<br><br><div class="gmail_quote"><div dir="ltr">Il giorno lun 9 lug 2018 alle ore 13:01 Robert Foss <<a href="mailto:robert.foss@collabora.com">robert.foss@collabora.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
NOTE: This series has not been tested successfully, and I'm seeing a segfault<br>
during the boot process. Which I'm currently looking into.<br></blockquote><div><br></div><div><br></div><div>What is your testing setup (hwcomposer, gralloc)?</div><div><br></div><div>I am asking because I am seeing segfaults with other drivers with drm_hwcomposer (master) + gralloc.gbm (handle-rework-v2)</div><div>and also I would propose to verify also no regression on gralloc.drm.</div><div><br></div><div>Since this series should be compatible with the rock stable gralloc.drm, I could perform some tests with former stack ( gralloc.drm pipe w/o hwcomposer) where compatibility should be guaranteed by BOARD_USES_DRM_GRALLOC:=true in BoardConfig.mk</div><div>and report back, if useful.</div><div><br></div><div>Please let me ask also a question to Rob Herring about gralloc.gbm compliance with gralloc0 w/o hwcomposer,</div><div>can we also rely on this stack/configuration, but testing it only with mesa having prime fd support?</div><div><br></div><div>Mauro</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
This series implements kms_swrast support for the Android<br>
platform.<br>
<br>
It's available here:<br>
<a href="https://gitlab.collabora.com/robertfoss/mesa/tree/kms_swrast_v1" rel="noreferrer" target="_blank">https://gitlab.collabora.com/robertfoss/mesa/tree/kms_swrast_v1</a><br>
and here with some debug:<br>
<a href="https://gitlab.collabora.com/robertfoss/mesa/tree/kms_swrast_v1_debug" rel="noreferrer" target="_blank">https://gitlab.collabora.com/robertfoss/mesa/tree/kms_swrast_v1_debug</a><br>
<br>
<br>
Changes since RFC:<br>
- Dropped "st/dri: Allow kms_swrast to work without a device FD"<br>
- Removed software renderer fallback from platform_android<br>
- Fixed various smaller issues<br>
<br>
<br>
Rob.<br>
<br>
Rob Herring (1):<br>
android: Build kms_swrast for the Android platform<br>
<br>
Robert Foss (2):<br>
egl/android: Add Android property for forcing software rendering<br>
platform/android: Enable kms_swrast fallback<br>
<br>
src/egl/drivers/dri2/platform_android.c | 19 ++++++-----<br>
src/egl/main/egldriver.c | 10 ++++++<br>
src/gallium/Android.mk | 2 +-<br>
src/gallium/auxiliary/pipe-loader/Android.mk | 1 +<br>
src/gallium/drivers/softpipe/Android.mk | 4 +--<br>
src/gallium/state_trackers/dri/Android.mk | 1 +<br>
src/gallium/winsys/sw/kms-dri/Android.mk | 33 ++++++++++++++++++++<br>
7 files changed, 59 insertions(+), 11 deletions(-)<br>
create mode 100644 src/gallium/winsys/sw/kms-dri/Android.mk<br>
<br>
-- <br>
2.17.1<br>
<br>
</blockquote></div></div>