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 <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6440>
This commit is contained in:

committed by
Tomeu Vizoso

parent
a0857e9d9e
commit
d353b15bee
@@ -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++;
|
||||
|
||||
|
Reference in New Issue
Block a user