From: Adam Jackson Subject: Re: [PATCH] drm/modes: Fix CVT-R modeline generation Date: Mon, 30 Aug 2010 10:08:05 -0400 Message-ID: <1283177285.7791.5303.camel@atropine> References: <1282573154-28981-1-git-send-email-ajax@redhat.com> <1283026405.3735.12.camel@mattotaupa> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0923160130==" Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by gabe.freedesktop.org (Postfix) with ESMTP id AD6EF9E710 for ; Mon, 30 Aug 2010 07:08:07 -0700 (PDT) In-Reply-To: <1283026405.3735.12.camel@mattotaupa> 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: Paul Menzel Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0923160130== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-XUQyasOyqTPrvzTGicTT" --=-XUQyasOyqTPrvzTGicTT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2010-08-28 at 22:13 +0200, Paul Menzel wrote: > Am Montag, den 23.08.2010, 10:19 -0400 schrieb Adam Jackson: > > diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c > > index f1f473e..949326d 100644 > > --- a/drivers/gpu/drm/drm_modes.c > > +++ b/drivers/gpu/drm/drm_modes.c > > @@ -251,7 +251,10 @@ struct drm_display_mode *drm_cvt_mode(struct drm_d= evice *dev, int hdisplay, > > drm_mode->htotal =3D drm_mode->hdisplay + CVT_RB_H_BLANK; > > /* Fill in HSync values */ > > drm_mode->hsync_end =3D drm_mode->hdisplay + CVT_RB_H_BLANK / 2; > > - drm_mode->hsync_start =3D drm_mode->hsync_end =3D CVT_RB_H_SYNC; > > + drm_mode->hsync_start =3D drm_mode->hsync_end - CVT_RB_H_SYNC; > > + /* Fill in VSync values */ > > + drm_mode->vsync_start =3D drm_mode->vdisplay + CVT_RB_VFPORCH; > > + drm_mode->vsync_end =3D drm_mode->vsync_start + vsync; > > } > > /* 15/13. Find pixel clock frequency (kHz for xf86) */ > > drm_mode->clock =3D drm_mode->htotal * HV_FACTOR * 1000 / hperiod; >=20 > Do you know if that was an regression in libdrm Well it's a change to a kernel source file, so, no. > and if that patch might > also fix #26294 [1]? DebPkg:libdrm2 was upgraded during that time from > 2.4.14 too. It might. - ajax --=-XUQyasOyqTPrvzTGicTT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkx7uz4ACgkQW4otUKDs0NOVAgCeIBy5VkxjPc3YX+MWP/7Zi5Rq yxoAoJGcqfFrkCqx33+wF5jQhL5P96qv =Ry2s -----END PGP SIGNATURE----- --=-XUQyasOyqTPrvzTGicTT-- --===============0923160130== 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 --===============0923160130==--