[Intel-gfx] [RFC 06/10] drm/i915/vm_bind: Add I915_GEM_EXECBUFFER3 ioctl

Hellstrom, Thomas thomas.hellstrom at intel.com
Fri Jul 8 12:22:21 UTC 2022


On Thu, 2022-07-07 at 21:38 +0200, Andi Shyti wrote:
> Hi,
> 
> > It seems we are duplicating a lot of code from i915_execbuffer.c.
> > Did
> > you consider 
> 
> yeah... while reading the code I was thinking the same then I see
> that you made the same comment. Perhaps we need to group
> commonalities and make common library for execbuf 2 and 3.
> 

Indeed, we should at least attempt this, and judge whether the
assumption that this will allow us to remove a bunch of duplicated code
will hold.

/Thomas


> Andi



More information about the dri-devel mailing list