Rohan Garg rohan.garg@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.