Commit 0a80005d authored by Thomas Zimmermann's avatar Thomas Zimmermann

drm/udl: Enable damage clipping

Call drm_plane_enable_fb_damage_clips() and give userspace a chance
of minimizing the updated display area.
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220908095115.23396-4-tiwai@suse.de
parent 1ceef996
...@@ -480,6 +480,7 @@ int udl_modeset_init(struct drm_device *dev) ...@@ -480,6 +480,7 @@ int udl_modeset_init(struct drm_device *dev)
format_count, NULL, connector); format_count, NULL, connector);
if (ret) if (ret)
return ret; return ret;
drm_plane_enable_fb_damage_clips(&udl->display_pipe.plane);
drm_mode_config_reset(dev); drm_mode_config_reset(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment