drm/format-helper: Rework format-helper conversion functions
commit 90cf67126f8576f49f5bff2425cbe534a2637832 from https://nv-tegra.nvidia.com/r/3rdparty/canonical/linux-jammy.git jetson_36.3 Move destination-buffer clipping from all format-helper conversion functions into callers. Support destination-buffer pitch. Only distinguish between system and I/O memory, but use same logic everywhere. Simply harmonize the interface and semantics of the existing code. Not all conversion helpers support all combinations of parameters. We have to add additional features when we need them. v2: * fix default destination pitch in drm_fb_xrgb8888_to_gray8() (Noralf) Signed-off-by:Thomas Zimmermann <tzimmermann@suse.de> Tested-by:
Noralf Trønnes <noralf@tronnes.org> Reviewed-by:
Noralf Trønnes <noralf@tronnes.org> Link: https://patchwork.freedesktop.org/patch/msgid/20211110103702.374-5-tzimmermann@suse.de (cherry picked from commit 53bc2098) Change-Id: I8df4f5b52868d84dfa6678a50781233fca442066 Signed-off-by:
Thierry Reding <treding@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/3rdparty/canonical/linux-jammy/+/2985826 Reviewed-by:
svcacv <svcacv@nvidia.com> Reviewed-by:
Jonathan Hunter <jonathanh@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Signed-off-by:
Rajeshkumar Ramasamy <rajeshkumar.ramasamy@windriver.com>
Loading
Please register or sign in to comment