[PATCH v2 4/5] drm: Check crtc viewport correctly with rotated primary plane on atomic drivers