drm/todo: Fallout from v3d review
Subsystems (3)
PATCH 1/1 drm/todo: Fallout from v3d review
Bunch of ideas from Eric and me on what we could do to make gem gpu rendering drivers a notch simpler to type.
Cc Eric Anholt <[email protected]>
Signed-off-by Daniel Vetter <[email protected]>
--- Documentation/gpu/todo.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
Documentation/gpu/todo.rst +18 -0
@@ -212,6 +212,24 @@ probably use drm_fb_helper_fbdev_teardown(). Contact: Maintainer of the driver you plan to convert +Clean up mmap forwarding +------------------------ + +A lot of drivers forward gem mmap calls to dma-buf mmap for imported buffers. +And also a lot of them forward dma-buf mmap to the gem mmap implemenations. +Would be great to refactor this all into a set of small common helpers. + +Contact: Daniel Vetter + +Put a reservation_object into drm_gem_object +-------------------------------------------- + +This would remove the need for the ->gem_prime_res_obj callback. It would also +allow us to implement generic helpers for waiting for a bo, allowing for quite a +bit of refactoring in the various wait ioctl implemenations. + +Contact: Daniel Vetter + idr_init_base() ---------------
Signature · 6 lines
2.16.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 10 lines · Daniel Vetter
Bunch of ideas from Eric and me on what we could do to make gem gpu rendering drivers a notch simpler to type.
Cc Eric Anholt <[email protected]>Signed-off-by Daniel Vetter <[email protected]>Documentation/gpu/todo.rst +0
-0
Documentation/gpu/todo.rst probably use drm_fb_helper_fbdev_teardown(). · line 220
Quoted 9 lines
Documentation/gpu/todo.rst +6
-0@@ -212,6 +212,24 @@ probably use drm_fb_helper_fbdev_teardown(). Contact: Maintainer of the driver you plan to convert +Clean up mmap forwarding +------------------------ + +A lot of drivers forward gem mmap calls to dma-buf mmap for imported buffers. +And also a lot of them forward dma-buf mmap to the gem mmap implemenations. +Would be great to refactor this all into a set of small common helpers.
"implementations"
Reviewed-by Eric Anholt <[email protected]>
Quoted 17 lines
Documentation/gpu/todo.rst +12
-0+ +Contact: Daniel Vetter + +Put a reservation_object into drm_gem_object +-------------------------------------------- + +This would remove the need for the ->gem_prime_res_obj callback. It would also +allow us to implement generic helpers for waiting for a bo, allowing for quite a +bit of refactoring in the various wait ioctl implemenations. + +Contact: Daniel Vetter + idr_init_base() ---------------Signature · 1 line
2.16.2
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel