[PATCH v3 7/9] drm/simpledrm: Enable FB_DAMAGE_CLIPS property
Noralf Trønnes
noralf at tronnes.org
Wed Nov 10 12:34:05 UTC 2021
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 at suse.de>
> ---
Reviewed-by: Noralf Trønnes <noralf at tronnes.org>
More information about the dri-devel
mailing list