Hey Mauro,

On 09/07/18 14:27, Mauro Rossi wrote:
Hi Robert,

Il giorno lun 9 lug 2018 alle ore 13:01 Robert Foss <robert.f...@collabora.com <mailto:robert.f...@collabora.com>> ha scritto:


    NOTE: This series has not been tested successfully, and I'm seeing a 
segfault
           during the boot process. Which I'm currently looking into.



What is your testing setup (hwcomposer, gralloc)?

I am asking because I am seeing segfaults with other drivers with drm_hwcomposer (master) + gralloc.gbm (handle-rework-v2)
and also I would propose to verify also no regression on gralloc.drm.

That's a good data point. With the virgl driver, I've had no segfaults and gotten a bit further, but not to any actual visual BootAnimation or desktop.


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
and report back, if useful.

That would be quite welcome. Note that "drm.gpu.force_software" property has to be set to '1'.


Please let me ask also a question to Rob Herring about gralloc.gbm compliance with gralloc0 w/o hwcomposer, can we also rely on this stack/configuration, but testing it only with mesa having prime fd support?

Mauro


    This series implements kms_swrast support for the Android
    platform.

    It's available here:
    https://gitlab.collabora.com/robertfoss/mesa/tree/kms_swrast_v1
    and here with some debug:
    https://gitlab.collabora.com/robertfoss/mesa/tree/kms_swrast_v1_debug


    Changes since RFC:
       - Dropped "st/dri: Allow kms_swrast to work without a device FD"
       - Removed software renderer fallback from platform_android
       - Fixed various smaller issues


    Rob.

    Rob Herring (1):
       android: Build kms_swrast for the Android platform

    Robert Foss (2):
       egl/android: Add Android property for forcing software rendering
       platform/android: Enable kms_swrast fallback

      src/egl/drivers/dri2/platform_android.c      | 19 ++++++-----
      src/egl/main/egldriver.c                     | 10 ++++++
      src/gallium/Android.mk                       |  2 +-
      src/gallium/auxiliary/pipe-loader/Android.mk |  1 +
      src/gallium/drivers/softpipe/Android.mk      |  4 +--
      src/gallium/state_trackers/dri/Android.mk    |  1 +
      src/gallium/winsys/sw/kms-dri/Android.mk     | 33 ++++++++++++++++++++
      7 files changed, 59 insertions(+), 11 deletions(-)
      create mode 100644 src/gallium/winsys/sw/kms-dri/Android.mk

-- 2.17.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to