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)
commit255f6fe736f4ed78e0f0eac1d6188137db798b51
tree59077b0d104922d61645011f04e299914216f3aa
parentdbd62e16fd53d37093a4695692ceac1a470f0b3f
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