On Tue, Jun 25, 2019 at 10:52:17PM +0200, Sam Ravnborg wrote: > On Tue, Jun 25, 2019 at 10:42:05PM +0200, Daniel Vetter wrote: > > That way we can ditch our gem_prime_res_obj implementation. Since ttm > > absolutely needs the right reservation object all the boilerplate is > > already there and we just have to wire it up correctly. > > > > Note that gem/prime doesn't care when we do this, as long as we do it > > before the bo is registered and someone can call the handle2fd ioctl > > on it. > > > > Aside: ttm_buffer_object.ttm_resv could probably be ditched in favour > > of always passing a non-NULL resv to ttm_bo_init(). At least for gem > > drivers that would avoid having two of these, on in ttm_buffer_object > > and the other in drm_gem_object, one just there for confusion. > Something for todo.rst - so this does not get lost in a changelog > people will soon forget? Gerd already has a nice patch series (rebased onto this one), so I don't think we need a todo.rst for this. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx