radeonsi: eglSetDamageRegionKHR returning error=EGL_SUCCESS
Hi,
when performing tests with mesa master branch 20.1.0-devel
with amdgpudmrfb on HD7790
and Raven Athlon 200GE
using kernel 5.6-rc6 with latest firmwares and LLVM 10,
I have seen Android series of crashes in renderthread EglManager preventing android-x86 (pie-x86) GUI boot completion.
The problem happens with drm_gralloc, gbm_gralloc+drm_framebuffer and with drm_hwcomposer+gbm_gralloc stacks.
Investigation on tombstones gave the following result (full tombstone in the attachment):
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Android-x86/android_x86_64/x86_64:9/PI/utente11011308:userdebug/test-keys'
Revision: '0'
ABI: 'x86_64'
pid: 3268, tid: 3284, name: RenderThread >>> com.android.settings <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'Failed to set damage region on surface 0x77a2abed0780, error=EGL_SUCCESS'
Could you please help me to check if eglSetDamageRegionKHR
, based on EGL 1.5 specs, should not return error EGL_SUCCESS
and, if required, proceed in assessing if there is a problem in mesa?
Thanks
Mauro