[PATCH] drm/todo: Fallout from v3d review
Eric Anholt
eric at anholt.net
Wed Apr 25 16:13:09 UTC 2018
Daniel Vetter <daniel.vetter at ffwll.ch> writes:
> 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 <eric at anholt.net>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
> index f4d0b3476d9c..d1fe865e6d2e 100644
> --- a/Documentation/gpu/todo.rst
> +++ b/Documentation/gpu/todo.rst
> @@ -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 <eric at anholt.net>
> +
> +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()
> ---------------
>
> --
> 2.16.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180425/b75daef2/attachment.sig>
More information about the dri-devel
mailing list