Re: [PATCH v2 3/4] drm/v3d: add generic ioctl extension

2021-09-30 Thread Iago Toral
On Thu, 2021-09-30 at 10:22 +0100, Melissa Wen wrote: > > > > O 09/30, Iago Toral wrote: > > On Wed, 2021-09-29 at 10:44 +0100, Melissa Wen wrote: (...) > > > /** > > > * struct drm_v3d_submit_cl - ioctl argument for submitting > > > commands > > > to the 3D > > > @@ -135,12 +149,16 @@ struct

Re: [PATCH v2 3/4] drm/v3d: add generic ioctl extension

2021-09-30 Thread Melissa Wen
O 09/30, Iago Toral wrote: > On Wed, 2021-09-29 at 10:44 +0100, Melissa Wen wrote: > > Add support to attach generic extensions on job submission. This > > patch > > is third prep work to enable multiple syncobjs on job submission. > > With > > this work, when the job submission interface needs to

Re: [PATCH v2 3/4] drm/v3d: add generic ioctl extension

2021-09-30 Thread Iago Toral
On Wed, 2021-09-29 at 10:44 +0100, Melissa Wen wrote: > Add support to attach generic extensions on job submission. This > patch > is third prep work to enable multiple syncobjs on job submission. > With > this work, when the job submission interface needs to be extended to > accomodate a new featu

[PATCH v2 3/4] drm/v3d: add generic ioctl extension

2021-09-29 Thread Melissa Wen
Add support to attach generic extensions on job submission. This patch is third prep work to enable multiple syncobjs on job submission. With this work, when the job submission interface needs to be extended to accomodate a new feature, we will use a generic extension struct where an id determines