Re: [PATCH v2 2/4] drm/v3d: alloc and init job in one shot

2021-09-30 Thread Melissa Wen
On 09/30, Iago Toral wrote: > On Wed, 2021-09-29 at 10:43 +0100, Melissa Wen wrote: > > Move job memory allocation to v3d_job_init function. This aim to > > facilitate > > error handling in job initialization, since cleanup steps are similar > > for all > > (struct v3d_job)-based types of job invol

Re: [PATCH v2 2/4] drm/v3d: alloc and init job in one shot

2021-09-30 Thread Iago Toral
On Wed, 2021-09-29 at 10:43 +0100, Melissa Wen wrote: > Move job memory allocation to v3d_job_init function. This aim to > facilitate > error handling in job initialization, since cleanup steps are similar > for all > (struct v3d_job)-based types of job involved in a command submission. > To > gene

[PATCH v2 2/4] drm/v3d: alloc and init job in one shot

2021-09-29 Thread Melissa Wen
Move job memory allocation to v3d_job_init function. This aim to facilitate error handling in job initialization, since cleanup steps are similar for all (struct v3d_job)-based types of job involved in a command submission. To generalize v3d_job_init(), this change takes into account that all job s