aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/selftests
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2018-05-03 13:22:15 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2018-05-04 11:35:14 +0200
commit9c1659ebe77d7e111dac4bdc7e082136d223ffb5 (patch)
tree7d9f3e07634123b45213cb74e0b4f6972b5920d8 /drivers/gpu/drm/selftests
parentdrm/rect: Handle rounding errors in drm_rect_clip_scaled, v3. (diff)
downloadlinux-dev-9c1659ebe77d7e111dac4bdc7e082136d223ffb5.tar.xz
linux-dev-9c1659ebe77d7e111dac4bdc7e082136d223ffb5.zip
drm/i915: Do not adjust scale when out of bounds, v2.
With the previous patch drm_atomic_helper_check_plane_state correctly calculates clipping and the xf86-video-intel ddx is fixed to fall back to GPU correctly when SetPlane fails, we can remove the hack where we try to pan/zoom when out of min/max scaling range. This was already poor behavior where the screen didn't show what was requested, and now instead we reject it outright. This simplifies check_sprite_plane a lot. Changes since v1: - Set crtc_h to the height correctly. - Reject < 3x3 rectangles instead of making them invisible for <gen9. For gen9+ skl_update_scaler_plane will reject them. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180503112217.37292-4-maarten.lankhorst@linux.intel.com Acked-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/selftests')
0 files changed, 0 insertions, 0 deletions