Android Software rendering on db845c

Dear All,

Now I have one DB845c running with Android 11.

For the display setting in platform/device/linaro/dragonboard/device-common.mk:

Display

PRODUCT_PACKAGES +=
android.hardware.drm@1.0-impl
android.hardware.drm@1.0-service
android.hardware.graphics.allocator@2.0-impl
android.hardware.graphics.allocator@2.0-service
android.hardware.graphics.composer@2.2-impl
android.hardware.graphics.composer@2.2-service
android.hardware.graphics.mapper@2.0-impl-2.1
gralloc.gbm
hwcomposer.drm
libGLES_mesa

PRODUCT_PROPERTY_OVERRIDES +=
ro.hardware.gralloc=gbm
ro.hardware.hwcomposer=drm \

The rendering uses HW composer and GPU.

Questions:

  1. How can I use the pure SW rendering without HWC and GPU ?
    (How can I modify the setting in device/linaro/dragonboard/device-common.mk and
    device/linaro/dragonboard/BoardConfigCommon.mk ?)

  2. Can I still use gralloc.gbm or use gralloc.default ?

Thank you so much.