mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
v3dv: initialize CL submission structure
This fixes an issue related with testing this with a kernel with the
performance counters enabled: it introduces a "pad" field that in the CL
submission structure that is not initialized.
Fixes: ca13868098 ("drm-uapi: add v3d performance counters")
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12390>
This commit is contained in:
parent
795f3b7318
commit
441e490f5a
1 changed files with 1 additions and 1 deletions
|
|
@ -580,7 +580,7 @@ handle_cl_job(struct v3dv_queue *queue,
|
|||
{
|
||||
struct v3dv_device *device = queue->device;
|
||||
|
||||
struct drm_v3d_submit_cl submit;
|
||||
struct drm_v3d_submit_cl submit = { 0 };
|
||||
|
||||
/* Sanity check: we should only flag a bcl sync on a job that needs to be
|
||||
* serialized.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue