Hi
Am 10.11.21 um 13:34 schrieb Noralf Trønnes:
Den 10.11.2021 11.37, skrev Thomas Zimmermann:
Enable the FB_DAMAGE_CLIPS property to reduce display-update overhead. Also fixes a warning in the kernel log.
simple-framebuffer simple-framebuffer.0: [drm] drm_plane_enable_fb_damage_clips() not called
Fix the computation of the blit rectangle. This wasn't an issue so far, as simpledrm always blitted the full framebuffer. The code now supports damage clipping and virtual screen sizes.
v3:
- fix drm_dev_enter() error path (Noralf)
- remove unnecessary clipping from update function (Noralf)
Signed-off-by: Thomas Zimmermann tzimmermann@suse.de
Reviewed-by: Noralf Trønnes noralf@tronnes.org
Thank you so much for reviewing.
Best regards Thomas