diff options
author | Ville Syrjälä <[email protected]> | 2017-06-08 17:40:02 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2017-06-13 10:53:43 +0300 |
commit | 1c2d6bbf0433ddf7c978ac5f2bd582e9e7d34687 (patch) | |
tree | 3ec39f1d26eb7224e992620deb3ca33d10057cf4 /tools/perf/scripts/python/bin | |
parent | 9a775e0308b575e3a17c66a586ed049b07f48199 (diff) |
drm/i915: Fix SKL+ watermarks for 90/270 rotation
skl_check_plane_surface() already rotates the clipped plane source
coordinates to match the scanout direction because that's the way
the GTT mapping is set up. Thus we no longer need to rotate the
coordinates in the watermark code.
For cursors we use the non-clipped coordinates which are not rotated
appropriately, but that doesn't actually matter since cursors don't
even support 90/270 degree rotation.
v2: Resolve conflicts from SKL+ wm rework
Cc: [email protected]
Cc: Tvrtko Ursulin <[email protected]>
Fixes: b63a16f6cd89 ("drm/i915: Compute display surface offset in the plane check hook for SKL+")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Tested-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
(cherry picked from commit fce5adf568abb1e8264d677156e2e0deb529194d)
Signed-off-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions