[PATCH] drm/doc: document that PRIME import/export is always supported

Thomas Zimmermann tzimmermann at suse.de
Thu Jul 13 07:45:28 UTC 2023



Am 13.07.23 um 09:17 schrieb Simon Ser:
> 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.

Well, OK then... :)


-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20230713/68b44254/attachment.sig>


More information about the dri-devel mailing list