The screen shows glitches and corruption with Panfrost and Mali-T820
We have a khadas VIM2 board equipped with Amlogic S912 and Mali-T820MP3. We tested mainline kernel 5.7 on it. System gets into GNOME 3 desktop environment, and the Panfrost is loaded. However, the screen gets glitches and corruption. Kernel also keeps showing error and information like:
[ 43.415528] Purging 8675328 bytes
[ 78.151868] panfrost d00c0000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x3be5a00, tail=0x3be5a00
[ 78.156102] panfrost d00c0000.gpu: gpu sched timeout, js=0, config=0x3301, status=0x58, head=0x3be5a00, tail=0x3be5a00, sched_job=00000000d13bf1d8
[ 85.206375] Purging 561152 bytes
[ 85.225706] Purging 8658944 bytes
[ 87.160473] Purging 8388608 bytes
[ 87.185128] Purging 8888320 bytes
...
[ 132.608689] panfrost_gem_shrinker_scan: 24 callbacks suppressed