[Mesa-dev] [PATCH v1 0/3] Android kms_swrast support

Mauro Rossi issor.oruam at gmail.com
Mon Jul 9 12:27:24 UTC 2018


Hi Robert,

Il giorno lun 9 lug 2018 alle ore 13:01 Robert Foss <
robert.foss at 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.

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.

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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180709/be91c654/attachment-0001.html>


More information about the mesa-dev mailing list