commit | bd34cea2a0e4b0c7a8e73d6cbaf694b233769d9d | [log] [tgz] |
---|---|---|
author | Noralf Trønnes <noralf@tronnes.org> | Sat May 09 16:16:16 2020 +0200 |
committer | Noralf Trønnes <noralf@tronnes.org> | Tue May 26 13:33:08 2020 +0200 |
tree | 8e27cd4e4c4735564756bf7d51a7a97897a47a83 | |
parent | 64593f2a6fc933bb9a410bc3f8c261f3e57a9601 [diff] |
drm/format-helper: Add drm_fb_swab() This replaces drm_fb_swab16() with drm_fb_swab() supporting 16 and 32-bit. Also make pixel line caching optional. v2: - Bail out on cpp != 2 && 4 (Sam) Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200509141619.32970-8-noralf@tronnes.org