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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, July 13th, 2023 at 07:09, Thomas Zimmermann <tzimmermann@xxxxxxx> 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.




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux