[PATCH libdrm v2 02/25] tegra: Remove unused IOCTL implementations
Dmitry Osipenko
digetx at gmail.com
Thu Feb 24 16:52:58 UTC 2022
17.02.2022 22:16, Thierry Reding пишет:
> From: Thierry Reding <treding at nvidia.com>
>
> The DRM_TEGRA_GEM_{GET,SET}_FLAGS and DRM_TEGRA_GEM_{GET,SET}_TILING
> IOCTLs were badly designed and have since been obsoleted by framebuffer
> modifiers. Remove these implementations to make it clear their usage is
> discouraged.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>
To me it's not a good idea to remove any function, you're breaking ABI.
I foresee that get/set flags should become useful.
Instead of the removal, you may mark functions deprecated to let
compiler produce a compile-time warning and add clarifying comments to
the code.
More information about the dri-devel
mailing list