[PATCH] drm/doc: document that PRIME import/export is always supported
Simon Ser
contact at emersion.fr
Thu Jul 13 07:17:55 UTC 2023
On Thursday, July 13th, 2023 at 07:09, Thomas Zimmermann <tzimmermann at suse.de> wrote:
> > + * Starting from kernel version 6.6, both &DRM_PRIME_CAP_IMPORT and
> > + * &DRM_PRIME_CAP_EXPORT are always advertised.
> > + *
>
> When people port these changes into their trees the version becomes
> meaningless. There are so many "enterprise kernels" that combine whole
> subsystems from different upstream releases.
>
> That makes me wonder if such documentation makes sense. We want to avoid
> a situation where userspace does
>
> if (v6.6)
> do()
> else if (test_flags())
> do()
Daniel Vetter asked for specific kernel versions in b603e810f740
("drm/uapi: document kernel capabilities"). It allows user-space to
figure out how widespread a cap is.
More information about the dri-devel
mailing list