On 2024-03-23 19:13, Andrei Borzenkov wrote:
On 23.03.2024 19:07, Peter Maffter wrote:
I expected that someone can explain to me, why they simply dropped out DRM_UNLOCKED
Author: Thomas Zimmermann <tzimmermann@suse.de> Date: Wed Nov 22 13:09:40 2023 +0100
drm: Remove locking for legacy ioctls and DRM_UNLOCKED
Modern DRM drivers acquire ioctl locks by themselves. Legacy ioctls for user-space mode setting used to acquire drm_global_mutex. After removing the ioctl entry points, also remove the locking code. The only legacy ioctl without global locking was VBLANK_WAIT, which has been removed as well. Hence remove the related DRM_UNLOCKED flag.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: David Airlie <airlied@gmail.com> Reviewed-by: Daniel Vetter <daniel@ffwll.ch> Acked-by: Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231122122449.11588-12-tzimme...
It is very interesting to see that the kernel developers claim that nobody uses this variable, intentionally ignoring that nvidia uses it. Politically interesting, that is, and of course intentional, as they hate one another, considering what Linus said about Nvidia some years ago. :-D Me, gladly not buying nvidia anymore. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)