drm/simpledrm: Enable FB_DAMAGE_CLIPS property
commit d3901a2603625ef06b21d498fe8f4a09aa0c5296 from https://nv-tegra.nvidia.com/r/3rdparty/canonical/linux-jammy.git jetson_36.3 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> Link: https://patchwork.freedesktop.org/patch/msgid/20211110103702.374-8-tzimmermann@suse.de (cherry picked from commit 0dd80b48) Change-Id: Ieba9329059261bbad6c58f60fae4c2bd2e7a3a6e Signed-off-by:
Thierry Reding <treding@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/3rdparty/canonical/linux-jammy/+/2985828 Reviewed-by:
svcacv <svcacv@nvidia.com> Reviewed-by:
Jonathan Hunter <jonathanh@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Signed-off-by:
Rajeshkumar Ramasamy <rajeshkumar.ramasamy@windriver.com>
Loading
Please register or sign in to comment