lkml.org 
[lkml]   [2019]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/4] drm: Add helpers for locking an array of BO reservations.
On Fri, Mar 8, 2019 at 10:17 AM Eric Anholt <eric@anholt.net> wrote:
>
> Now that we have the reservation object in the GEM object, it's easy
> to provide a helper for this common case. Noticed while reviewing
> panfrost and lima drivers. This particular version came out of v3d,
> which in turn was a copy from vc4.
>
> Signed-off-by: Eric Anholt <eric@anholt.net>
> ---
> drivers/gpu/drm/drm_gem.c | 76 +++++++++++++++++++++++++++++++++++++++
> include/drm/drm_gem.h | 4 +++
> 2 files changed, 80 insertions(+)

Sweet! I was about to go write this same patch. You are changing the
license from GPL to MIT copying the v3d version, but I guess you have
rights to do that.

FWIW,

Acked-by: Rob Herring <robh@kernel.org>

Rob

\
 
 \ /
  Last update: 2019-03-08 18:35    [W:0.274 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site