From: Tomi Valkeinen Subject: Re: [PATCH] drm/omap: Rework the rotation-on-crtc hack Date: Fri, 4 Aug 2017 12:57:39 +0300 Message-ID: References: <20170725080122.20548-2-daniel.vetter@ffwll.ch> <20170731154235.6402-1-daniel.vetter@ffwll.ch> <2563110.xQjJWl2ggy@avalon> <0348f52a-94d4-4174-2060-6104e145acfa@linux.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0105751559==" Return-path: Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 57DE16E38E for ; Fri, 4 Aug 2017 09:58:03 +0000 (UTC) In-Reply-To: <0348f52a-94d4-4174-2060-6104e145acfa@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Maarten Lankhorst , Daniel Vetter , Laurent Pinchart Cc: Daniel Vetter , DRI Development List-Id: dri-devel@lists.freedesktop.org --===============0105751559== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5Wprcu3LhuUwNCq6VLrLv8PJ3LUMGincl" --5Wprcu3LhuUwNCq6VLrLv8PJ3LUMGincl Content-Type: multipart/mixed; boundary="KXxua2x6vhgI3PGac3dawFs68xMXfWPt6"; protected-headers="v1" From: Tomi Valkeinen To: Maarten Lankhorst , Daniel Vetter , Laurent Pinchart Cc: DRI Development , Daniel Vetter Message-ID: Subject: Re: [PATCH] drm/omap: Rework the rotation-on-crtc hack References: <20170725080122.20548-2-daniel.vetter@ffwll.ch> <20170731154235.6402-1-daniel.vetter@ffwll.ch> <2563110.xQjJWl2ggy@avalon> <0348f52a-94d4-4174-2060-6104e145acfa@linux.intel.com> In-Reply-To: <0348f52a-94d4-4174-2060-6104e145acfa@linux.intel.com> --KXxua2x6vhgI3PGac3dawFs68xMXfWPt6 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi, > Here you go, compile tested version. :) > ----8<---- > I want/need to rework the core property handling, and this hack is > getting in the way. But since it's a non-standard propety only used by > legacy userspace we know that this will only every be called from > ioctl code. And never on some other free-standing state struct, where > this old hack wouldn't work either. >=20 > v2: don't forget zorder and get_property! >=20 > v3: Shadow the legacy state to avoid locking issues in get_property > (Maarten). >=20 > v4: Review from Laurent > - Move struct omap_crtc_state into omap_crtc.c > - Clean up comments. > - Don't forget to copy the shadowed state over on duplicate. >=20 > v5: Don't forget to update the reset handler (Maarten). > v6: Update omap_crtc_state shadow values in omap_crtc_atomic_check (Maa= rten). >=20 > Reviewed-by: Laurent Pinchart (v4) > Cc: Maarten Lankhorst > Cc: Tomi Valkeinen Cc: Laurent Pinchart > Signed-off-by: Daniel Vetter > Signed-off-by: Maarten Lankhorst > --- > drivers/gpu/drm/omapdrm/omap_crtc.c | 118 +++++++++++++++++++++++++---= -------- > 1 file changed, 81 insertions(+), 37 deletions(-) This makes all the CRTC properties disappear... This doesn't depend on anything in drm-next, does it? I'm currently on v4.13-rc3. I'll look a bit more on what's going on later today. Tomi --KXxua2x6vhgI3PGac3dawFs68xMXfWPt6-- --5Wprcu3LhuUwNCq6VLrLv8PJ3LUMGincl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZhEUTAAoJEPo9qoy8lh71nC0P/iIUSTvUstE6jQrYokmfCnAq YTLf4oot/kNU21UaqJADspm5Oi9A8cE/ocs9KdYXXHOPah1vLigzf9c27UEd0J1/ rOue7DrDO4HpkrrOp6EXzfv4KNlf9KEMFQliXzwT/WoewHCwaF++pX9o3pPYvtp0 eNASTBCA67jmQR0QCjHHBPbsU3Biwp2zHWHsRj9S7otoh0DqG38C0oa573o0YdRQ iRCNiA5ea7JtgeHTi1IFWGtfuStkQNjhOzbq4F2V/aeMSkLJSGdB0cKSfe5LNXy9 0l7yrWb/hYpLy49wtTAKgAJuqiIP8Uesw0TJBkMH0GQ59EUiRpCYkTYKje2sGmLE VnnDdKydCTfwPYAuK6rXGpn5JSm+zZmA2DQOh60EAYe11jfHrsCAV7YxfXvCggv1 /pqLSfBuk8rv915zqahiD2Mro+xYjlJ+A8owRzqfwZa2WZEl0HuKoydK85N+eWz8 4JpCzzhmYPM9z5NY0EjT3gwgqEru0FAp19dMzWmnmbhJmq8A222SU4eZ5mfW/r5u woOW0vFHxSBrNjt3+EPGntesS62Sx8TvWelI4jmLkwT6nL2v1otks5CNMtSc9OlS Efr47Xc56lqQtPjjFiR7h65EThq+xSDAAJ5iK1HkhiofDkcJ4YN08kngb7dws+Zt Y1QMqpEa5j4B+B+EMWfZ =Gc7o -----END PGP SIGNATURE----- --5Wprcu3LhuUwNCq6VLrLv8PJ3LUMGincl-- --===============0105751559== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0105751559==--