[PATCH for 4.9 54/59] drm: mali-dp: Fix destination size handling when rotating

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Brian Starkey [ Upstream commit edabb3c4cd2d035bc93a3d67b25a304ea6217301 ] The destination rectangle provided by userspace in the CRTC_X/Y/W/H properties is already expressed as the dimensions after rotation. This means we shouldn't swap the width and height

[PATCH for 4.9 54/59] drm: mali-dp: Fix destination size handling when rotating

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Brian Starkey [ Upstream commit edabb3c4cd2d035bc93a3d67b25a304ea6217301 ] The destination rectangle provided by userspace in the CRTC_X/Y/W/H properties is already expressed as the dimensions after rotation. This means we shouldn't swap the width and height ourselves when a 90/270 degree