summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_damage_helper.h
diff options
context:
space:
mode:
authorDeepak Rawat <drawat@vmware.com>2018-08-09 02:36:26 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2018-12-05 10:00:36 +0100
commitd9778b40260950a01a00852be43ca6c5c2d97f69 (patch)
treef3c18d2cff656b2d7a16549f6b9ffaa8a097184b /include/drm/drm_damage_helper.h
parentdrm: Add a new plane property to send damage during plane update (diff)
downloadlinux-d9778b40260950a01a00852be43ca6c5c2d97f69.tar.xz
linux-d9778b40260950a01a00852be43ca6c5c2d97f69.zip
drm: Add a new helper to validate damage during atomic_check
This helper function makes sure that damage from plane state is discarded for full modeset. Signed-off-by: Deepak Rawat <drawat@vmware.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to '')
-rw-r--r--include/drm/drm_damage_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_damage_helper.h b/include/drm/drm_damage_helper.h
index 4947c614fff9..59584cbf3d40 100644
--- a/include/drm/drm_damage_helper.h
+++ b/include/drm/drm_damage_helper.h
@@ -35,5 +35,7 @@
#include <drm/drm_atomic_helper.h>
void drm_plane_enable_fb_damage_clips(struct drm_plane *plane);
+void drm_atomic_helper_check_plane_damage(struct drm_atomic_state *state,
+ struct drm_plane_state *plane_state);
#endif