RFC: IOCTL to label BO in DRM Core

Eric Anholt eric at anholt.net
Thu Sep 12 17:57:13 UTC 2019

Rohan Garg <rohan.garg at collabora.com> 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.
-------------- 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/20190912/0f83eb9c/attachment.sig>

More information about the dri-devel mailing list