Re: [PATCH 21/29] drm/i915/gem: Use the proto-context to handle create parameters (v2)

2021-06-03 Thread Jason Ekstrand
On Thu, Jun 3, 2021 at 2:32 AM Daniel Vetter wrote: > > On Thu, Jun 3, 2021 at 12:23 AM Jason Ekstrand wrote: > > > > On Mon, May 31, 2021 at 4:12 AM Daniel Vetter wrote: > > > > > > On Thu, May 27, 2021 at 11:26:42AM -0500, Jason Ekstrand wrote: > > > > +static int set_proto_ctx_engines(struct

Re: [PATCH 21/29] drm/i915/gem: Use the proto-context to handle create parameters (v2)

2021-06-03 Thread Daniel Vetter
On Thu, Jun 3, 2021 at 12:23 AM Jason Ekstrand wrote: > > On Mon, May 31, 2021 at 4:12 AM Daniel Vetter wrote: > > > > On Thu, May 27, 2021 at 11:26:42AM -0500, Jason Ekstrand wrote: > > > +static int set_proto_ctx_engines(struct drm_i915_file_private *fpriv, > > > +

Re: [PATCH 21/29] drm/i915/gem: Use the proto-context to handle create parameters (v2)

2021-06-02 Thread Jason Ekstrand
On Mon, May 31, 2021 at 4:12 AM Daniel Vetter wrote: > > On Thu, May 27, 2021 at 11:26:42AM -0500, Jason Ekstrand wrote: > > This means that the proto-context needs to grow support for engine > > configuration information as well as setparam logic. Fortunately, we'll > > be deleting a lot of setp

Re: [PATCH 21/29] drm/i915/gem: Use the proto-context to handle create parameters (v2)

2021-05-31 Thread Daniel Vetter
On Thu, May 27, 2021 at 11:26:42AM -0500, Jason Ekstrand wrote: > This means that the proto-context needs to grow support for engine > configuration information as well as setparam logic. Fortunately, we'll > be deleting a lot of setparam logic on the primary context shortly so it > will hopefully

[PATCH 21/29] drm/i915/gem: Use the proto-context to handle create parameters (v2)

2021-05-27 Thread Jason Ekstrand
This means that the proto-context needs to grow support for engine configuration information as well as setparam logic. Fortunately, we'll be deleting a lot of setparam logic on the primary context shortly so it will hopefully balance out. There's an extra bit of fun here when it comes to setting