From: Alyssa Rosenzweig Date: Fri, 21 Aug 2020 13:36:14 +0000 (-0400) Subject: panfrost: Quiet pandecode error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d353b15beecd30dd0a4f162041afcd652bbc69a4;p=mesa.git panfrost: Quiet pandecode error The smallest job descriptor is smaller than 256, and with the tighter packing, pandecode can sometimes error nowadays. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso Part-of: --- diff --git a/src/panfrost/lib/decode.c b/src/panfrost/lib/decode.c index fcfc5907451..6a235504622 100644 --- a/src/panfrost/lib/decode.c +++ b/src/panfrost/lib/decode.c @@ -2304,7 +2304,7 @@ pandecode_jc(mali_ptr jc_gpu_va, bool bifrost, unsigned gpu_id, bool minimal) h = PANDECODE_PTR(mem, jc_gpu_va, struct mali_job_descriptor_header); mali_ptr payload_ptr = jc_gpu_va + sizeof(*h); - payload = pandecode_fetch_gpu_mem(mem, payload_ptr, 256); + payload = pandecode_fetch_gpu_mem(mem, payload_ptr, 64); int job_no = job_descriptor_number++;