diff options
author | Deepak Rawat <drawat@vmware.com> | 2018-08-08 17:36:26 -0700 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-12-05 10:00:36 +0100 |
commit | d9778b40260950a01a00852be43ca6c5c2d97f69 (patch) | |
tree | f3c18d2cff656b2d7a16549f6b9ffaa8a097184b /include/drm | |
parent | d3b21767821ed322a4024c99bc360cd0892f3d82 (diff) | |
download | linux-d9778b40260950a01a00852be43ca6c5c2d97f69.tar.bz2 |
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 'include/drm')
-rw-r--r-- | include/drm/drm_damage_helper.h | 2 |
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 |