]> git.baikalelectronics.ru Git - kernel.git/commit
drm/damage-helper: Add drm_atomic_helper_damage_merged()
authorNoralf Trønnes <noralf@tronnes.org>
Tue, 15 Jan 2019 04:36:40 +0000 (05:36 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Thu, 17 Jan 2019 09:56:54 +0000 (10:56 +0100)
commitbb7f0acce82cdd6eee8815565800716c5947a51b
tree59077b0d104922d61645011f04e299914216f3aa
parent42ded67452ba8e33d46c24dbdf219ed4998a27d3
drm/damage-helper: Add drm_atomic_helper_damage_merged()

Useful for drivers that only care about the combined damage.

v2: Remove unnecessary clearing of damage clips

Cc: Deepak Rawat <drawat@vmware.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190115043643.2364-3-noralf@tronnes.org
drivers/gpu/drm/drm_damage_helper.c
include/drm/drm_damage_helper.h