diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-31 21:00:55 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-06-06 19:29:30 +0300 |
commit | fce5adf568abb1e8264d677156e2e0deb529194d (patch) | |
tree | 9f97eba4051b1043303a1b1b8ea4a3734072987b /drivers/gpu/drm/drm_connector.c | |
parent | d96a7d2adb040a67e163a82dad6316f9f572498a (diff) | |
download | linux-fce5adf568abb1e8264d677156e2e0deb529194d.tar.xz |
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: stable@vger.kernel.org
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: b63a16f6cd89 ("drm/i915: Compute display surface offset in the plane check hook for SKL+")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170331180056.14086-3-ville.syrjala@linux.intel.com
Tested-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/drm_connector.c')
0 files changed, 0 insertions, 0 deletions