From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Menzel Subject: Re: [PATCHv2] drm/radeon: Move pageflip request from vblank IRQ to ioctl Date: Wed, 06 Jul 2011 22:54:06 +0200 Message-ID: <1309985646.4583.24.camel@mattotaupa> References: <1309975448-24373-1-git-send-email-simon.farnsworth@onelan.co.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1883664708==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id 230909E745 for ; Wed, 6 Jul 2011 13:54:16 -0700 (PDT) Received: from f053037185.adsl.alicedsl.de ([78.53.37.185] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QeZ7A-0001w4-En for dri-devel@lists.freedesktop.org; Wed, 06 Jul 2011 20:54:32 +0000 In-Reply-To: <1309975448-24373-1-git-send-email-simon.farnsworth@onelan.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1883664708== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-He5TWoPOTXITeJw9gURj" --=-He5TWoPOTXITeJw9gURj Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Mittwoch, den 06.07.2011, 19:04 +0100 schrieb Simon Farnsworth: > The radeon pageflip ioctl handler delayed submitting the pageflip to > hardware until the vblank IRQ handler. On AMD Fusion (PALM GPU, G-T56N > CPU), when using a reduced blanking CVT mode, a pageflip submitted to > hardware in the IRQ handler failed to complete before the end of the > vblank, resulting in a guaranteed halving of frame rate despite having > plenty of spare CPU and GPU resource. >=20 > Fix this by moving the pageflip request to hardware into the pageflip > ioctl, waiting until we are outside a vblank period so that pageflip > timing is still accurate. >=20 > This doubles my frame rate in reduced blanking modes, and does not > have an impact on CPU usage in normal blanking modes. >=20 > Signed-off-by: Simon Farnsworth Please mention the bug number the commit closes/addresses in the commit message. [=E2=80=A6] Thanks, Paul --=-He5TWoPOTXITeJw9gURj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk4Uy24ACgkQPX1aK2wOHVglnwCffg6bKkIJLICLxHbvaGlP920Z XQsAn0osCBRgiCKM3/d8DmCPNBkE8Dv+ =3dFI -----END PGP SIGNATURE----- --=-He5TWoPOTXITeJw9gURj-- --===============1883664708== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1883664708==--