diff options
author | Deepak Rawat <drawat@vmware.com> | 2018-05-30 23:42:52 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-12-05 10:00:36 +0100 |
commit | d2780b1f021bfe1674d21542e7274df6a5016a52 (patch) | |
tree | 246c3fb3d996f924705c9d4c1f0a4af580ca2cec /drivers/gpu/drm/vgem | |
parent | drm: Add a new helper to validate damage during atomic_check (diff) | |
download | linux-d2780b1f021bfe1674d21542e7274df6a5016a52.tar.xz linux-d2780b1f021bfe1674d21542e7274df6a5016a52.zip |
drm: Add helper iterator functions for plane fb_damage_clips blob
With fb_damage_clips blob property in drm_plane_state, this patch adds
helper iterator to traverse the damage clips that lie inside plane src.
Iterator will return full plane src as damage in case need full plane
update or damage is not specified.
v2:
- Plane src clipping correction
- Handle no plane update case in iter_next
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 'drivers/gpu/drm/vgem')
0 files changed, 0 insertions, 0 deletions