This series implements kms_swrast support for the Android platform. And since having to debug a null pointer dereference, simplify that process for the next guy.
As it stands now, any kernel must have the following ioctls flagged with DRM_RENDER_ALLOW[1], which isn't the case in the mainline kernel. DRM_IOCTL_MODE_CREATE_DUMB DRM_IOCTL_MODE_MAP_DUMB I've started a seperate discussion on the kernel ML[1] to seeks some more answers about what the upstream linux community views as the best solution [1] https://lkml.org/lkml/2018/7/24/187 Changes since v2: - Added r-b - Actually implement all of Erics feedback Changes since v1: - Added r-b - Added patch for asserting on failed pipe_transfer_map() 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 Herring (1): android: Build kms_swrast for the Android platform Robert Foss (3): softpipe: Add assert verifying successful pipe_transfer_map egl/android: Add Android property for forcing software rendering platform/android: Enable kms_swrast fallback src/egl/drivers/dri2/platform_android.c | 14 +++++---- 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/drivers/softpipe/sp_tile_cache.c | 1 + src/gallium/state_trackers/dri/Android.mk | 1 + src/gallium/winsys/sw/kms-dri/Android.mk | 33 ++++++++++++++++++++ 8 files changed, 57 insertions(+), 9 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