diff options
author | 2023-03-20 22:09:49 -0400 | |
---|---|---|
committer | 2023-04-11 12:29:30 -0400 | |
commit | a37a512db3fa1b65fe9087003e5b2072cefb3667 (patch) | |
tree | 998a174157a71a637bdf54bcb52f11322c882dd5 /scripts/generate_rust_analyzer.py | |
parent | drm/vmwgfx: Print errors when running on broken/unsupported configs (diff) | |
download | linux-rng-a37a512db3fa1b65fe9087003e5b2072cefb3667.tar.xz linux-rng-a37a512db3fa1b65fe9087003e5b2072cefb3667.zip |
drm/vmwgfx: Fix Legacy Display Unit atomic drm support
Legacy Display Unit (LDU) fb dirty support used a custom fb dirty callback. Latter
handled only the DIRTYFB IOCTL presentation path but not the ADDFB2/PAGE_FLIP/RMFB
IOCTL path, common for Wayland compositors.
Get rid of the custom callback in favor of drm_atomic_helper_dirtyfb and unify the
handling of the presentation paths inside of vmw_ldu_primary_plane_atomic_update.
This also homogenizes the fb dirty callbacks across all DUs: LDU, SOU and STDU.
Signed-off-by: Martin Krastev <krastevm@vmware.com>
Reviewed-by: Maaz Mombasawala <mombasawalam@vmware.com>
Fixes: 2f5544ff0300 ("drm/vmwgfx: Use atomic helper function for dirty fb IOCTL")
Cc: <stable@vger.kernel.org> # v5.0+
Signed-off-by: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230321020949.335012-3-zack@kde.org
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions