drm: mali-dp: Don't force source size == crtc size
authorBrian Starkey <brian.starkey@arm.com>
Wed, 7 Dec 2016 13:14:51 +0000 (13:14 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 23 Jan 2017 09:46:24 +0000 (09:46 +0000)
commitb2a2ddb0e2a1617d79ad77b14be547c989665d0c
tree9d28726fc44794740637f0d49a4b5c41fffaf472
parentb9c3315c57fa6dcbf7b24ff1aa45e92e726d891f
drm: mali-dp: Don't force source size == crtc size

Remove the check enforcing that src_w and src_h match crtc_w and crtc_h,
as this prevents rotation from working.

The check was intended to disallow scaling, but
drm_plane_helper_check_state() does that for us, while also taking
rotation into account, so the removed check was redundant in any case.

Signed-off-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/malidp_planes.c