diff options
author | Shirish S <Shirish.S@amd.com> | 2018-03-07 06:10:03 +0300 |
---|---|---|
committer | Harry Wentland <harry.wentland@amd.com> | 2018-03-07 23:34:59 +0300 |
commit | 55de2923847c3318459758931ff175996facce69 (patch) | |
tree | 48862ec0a00bfea6d782c779ffe65ffc3baeac98 /drivers/gpu | |
parent | 100bc0d9963b506d4f1f0936c1d8ed17d214ef30 (diff) | |
download | linux-55de2923847c3318459758931ff175996facce69.tar.xz |
drm/atomic: Add new reverse iterator over all plane state (V2)
Add reverse iterator for_each_oldnew_plane_in_state_reverse to
compliment the for_each_oldnew_plane_in_state way or reading plane
states.
The plane states are required to be read in reverse order for
amd drivers, cause the z order convention followed in linux is
opposite to how the planes are supposed to be presented to DC
engine, which is in common to both windows and linux.
V2: fix compile time errors due to -Werror flag.
Signed-off-by: Shirish S <shirish.s@amd.com>
Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1520392203-6885-1-git-send-email-shirish.s@amd.com
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions