Skip to content

Commit 6649910

Browse files
committed
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. v2: Fix typo (Eric). Cc: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180425111742.5872-1-daniel.vetter@ffwll.ch
1 parent 16d25ea commit 6649910

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Documentation/gpu/todo.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,24 @@ probably use drm_fb_helper_fbdev_teardown().
212212

213213
Contact: Maintainer of the driver you plan to convert
214214

215+
Clean up mmap forwarding
216+
------------------------
217+
218+
A lot of drivers forward gem mmap calls to dma-buf mmap for imported buffers.
219+
And also a lot of them forward dma-buf mmap to the gem mmap implementations.
220+
Would be great to refactor this all into a set of small common helpers.
221+
222+
Contact: Daniel Vetter
223+
224+
Put a reservation_object into drm_gem_object
225+
--------------------------------------------
226+
227+
This would remove the need for the ->gem_prime_res_obj callback. It would also
228+
allow us to implement generic helpers for waiting for a bo, allowing for quite a
229+
bit of refactoring in the various wait ioctl implementations.
230+
231+
Contact: Daniel Vetter
232+
215233
idr_init_base()
216234
---------------
217235

0 commit comments

Comments
 (0)