debian: patches: Fix mismatch between number of samples
debian: patches: Fix mismatch between number of samples
After updating Mesa to 25.2.0 (Debian experimental) Chromium is now causing panfrost errors:
[ 717.324402] panfrost 13000000.gpu: js fault, js=0,
status=JOB_BUS_FAULT, head=0xc22ad00, tail=0xc22ad00
[ 717.828013] panfrost 13000000.gpu: gpu sched timeout, js=1,
config=0x7b00, status=0x0, head=0xc22aa00,
tail=0xc22aa00, sched_job=0000000045d55d01
[ 717.831731] panfrost 13000000.gpu: Unhandled Page fault in AS1 at
VA 0x0000000000000000
Reason: TODO
raw fault status: 0x200001C2
decoded fault status: SLAVE FAULT
exception type 0xC2: TRANSLATION_FAULT_2
access type 0x1: EXECUTE
source id 0x2000
[ 717.835654] panfrost 13000000.gpu: js fault, js=1,
status=JOB_BUS_FAULT, head=0xc1c3400, tail=0xc1c3400
After bisecting, the problematic commit is 423f3fd4850 ("panfrost: enable 8x and 16x msaa modes when supported").
The root cause appears to be a mismatch between the number of samples in the depth and color buffers. This commit adds a possible fix, as proposed by Eric Smith.
Signed-off-by: Ariel D'Alessandro ariel.dalessandro@collabora.com
Edited by Ariel D'Alessandro