From: Eric Anholt Subject: Re: [PATCH] drm: vc4: Don't wait for vblank when updating the cursor Date: Tue, 28 Feb 2017 12:55:51 -0800 Message-ID: <87efyiujag.fsf@eliezer.anholt.net> References: <20170224015431.24583-1-mzoran@crowfest.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1200502354==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id 001016E7FB for ; Tue, 28 Feb 2017 20:55:53 +0000 (UTC) In-Reply-To: <20170224015431.24583-1-mzoran@crowfest.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: airlied@linux.ie Cc: mzoran@crowfest.net, linux-rpi-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1200502354== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Michael Zoran writes: > Commonly used desktop environments such as xfce4 and gnome > on debian sid can flood the graphics drivers with cursor > updates. Because the current implementation is waiting > for a vblank between cursor updates, this will cause the > display to hang for a long time since a typical refresh > rate is only 60Hz. > > This is unnecessary and unexpected by user mode software, > so simply swap out the cursor frame buffer without waiting. > > Signed-off-by: Michael Zoran Reviewed and pushed to drm-misc-next. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAli149cACgkQtdYpNtH8 nujRHg/+KkS0+ilNsdEA9bd5IRobflu3O6cpZ0tlEnTbqH2gZUs/Yu1JbuvFWZMG MYSIyw4gn07YCVoWT97bYF28PtyaFooA0z4qDqPvQ/ValR30ua8z1c6hV9SUdo8L fQetBaVj8NVnlQO6+eayX51XjdsHC+h8D2W2RN1TpLKDm1cAw13bo14QVC3E9zP4 yC76jyUqbjutW4AxpNAgbU1JpdND3ieYW+X8a7goXJa50CdXAQwcwOdOQhxcE15o fv4vw8IgGFDbPmkuMYe9FQK0buWTaWwCcX3oQyadTRNP89AxfmW5Dqvz47ASxmnl Jp86wdmm5cwkfaOgEYa11iQE4DgpFIyIZYBrG/z+LAQMNQxKm0LV+1lkM9UGuwf+ 8Szml1hntaJy0L609A9KAj46i0hrY0MJVXQ69DhLkL2Jxx49lrMxZTd0j0RvE9j4 MZmnKZDq0Nh2lHGfFhiEws3518GVw8LFrcPRkgI5XwANoy4WH3D6m2J8R/4M7+7D 5QRwUbJLdglAxnALRo5qnUM+rNQ9KJJEcjMYghBx2cCEKe16fCI/YsIzA0MLi7Xd UhKmAQ4WVBJ/9Cgmqt8esEQWKyAfLJ9EJSAuCO8j74mLrUTfj1l0Oj5f5PtRlc0k SUXrVB3lIeHm+wfJLW3Tjtct5q9u9kANq49fhuaA43uTxlgbtOo= =/ih4 -----END PGP SIGNATURE----- --=-=-=-- --===============1200502354== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1200502354==--