Re: RFC: IOCTL to label BO in DRM Core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 12, 2019 at 7:57 PM Eric Anholt <eric@xxxxxxxxxx> wrote:
>
> Rohan Garg <rohan.garg@xxxxxxxxxxxxx> writes:
>
> > [ Unknown signature status ]
> > Hi
> > I'm investigating a way to label BO's in panfrost, similar to how VC4 does it
> > and realised that this could be something that's might be useful to all
> > drivers.
> >
> > With that in mind, would anyone be opposed to add a DRM_IOCTL_BO_SET_LABEL in
> > DRM core that can be utilised by all drivers to label BO's?
>
> I would love to see something shared.  msm has an object labeling
> interface as well.
>
> vc4's had some overengineering due to wanting to keep a bucketed-by-name
> usage list so we could dump that when we ran out of memory or from
> debugfs.  I think something much simpler would be better.

I think there's even some patches floating to lift this to the dma-buf
level (at least for output ind debugfs), but we'd still need a generic
thing at the drm_gem_bo level. If we can subsume at least some of the
existing ioctls (with a thin wrapper) to this new thing I'm all for
it.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux