[PATCH v4] drm/ioctl: Add a ioctl to label GEM objects

Daniel Stone daniel at fooishbar.org
Tue Oct 22 13:14:39 UTC 2019


Hey,

On Tue, 22 Oct 2019 at 11:30, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Tue, Oct 22, 2019 at 10:58:02AM +0200, Rohan Garg wrote:
> > This approach also future proof's us to be able to label any handles, not just
> > GEM handle.
>
> I don't expect we'll ever merge any non-gem drivers in the future anymore.
> Hence this really only makes sense if vmwgfx wants it, that's the only
> use-case for this generic-ism here. If vmwgfx doesn't have a use or jump
> on board with this, imo better to just make this specific to gem and be
> done.

VMware were the exact people who asked it for to be handle-agnostic
and not GEM-specific ...

Given that we already have handle-agnostic calls like FBs in
particular, I think it makes sense to have this one just follow that.
It's not much code and doesn't really imply any heavy change for the
rest of DRM.

Cheers,
Daniel


More information about the dri-devel mailing list