From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 16:22:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1779502157==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E60866ED3B for ; Fri, 28 Mar 2014 09:22:41 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1779502157== Content-Type: multipart/alternative; boundary="1396023761.eB61C61.25380"; charset="us-ascii" --1396023761.eB61C61.25380 Date: Fri, 28 Mar 2014 16:22:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76564 --- Comment #27 from Christian K=C3=B6nig --- (In reply to comment #26) > (In reply to comment #25) > > (In reply to comment #24) > > > (In reply to comment #23) > > > The problem is that the frequencys are exact enough so that the displ= ay > > > device (Monitor/TV/Whatever) accepts them, but not 100% precise. > > >=20 > > > E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but got 148.75= Mhz > > > instead. And for the 24Hz mode we wanted 74.2MHz but got 74.0625Mhz i= nstead. > > >=20 > > > So as Alex said somebody would need to dig into that and try to impro= ve the > > > numbers without toasting the hardware. > >=20 > > So that would mean for example using fb=3D29.7 Ref=3D2 post=3D10? > >=20 > > Or would that fry the hardware? >=20 > That should work. You aren't likely to fry the hw. You just don't want = to > set a 400 Mhz clock as you monitor properly won't like it. The hard part= is > adjusting the algorithm to reliably calculate a good value for a wide ran= ge > of clocks. I'm not sure if those values would work. A post divider of 10 might result = in a to high VCO and that could indeed damage the hardware (even if that's rather unlikely). Essentially the target clock multiplied with the post divider must be in a certain range. I think between pll->pll_out_max and pll->pll_out_min. I think the problem is that we don't try to choose a good value to match the target frequency as close as possible in avivo_get_post_div, but just a val= ue that either matches the maximum or minimum VCO frequency. --=20 You are receiving this mail because: You are the assignee for the bug. --1396023761.eB61C61.25380 Date: Fri, 28 Mar 2014 16:22:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 27 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
26)
> (In reply to comment #25)
> > (In reply to comment #24<=
/a>)
> > > (In reply to comment=
 #23)
> > > The problem is that the frequencys are exact enough so that =
the display
> > > device (Monitor/TV/Whatever) accepts them, but not 100% prec=
ise.
> > >=20
> > > E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but g=
ot 148.75Mhz
> > > instead. And for the 24Hz mode we wanted 74.2MHz but got 74.=
0625Mhz instead.
> > >=20
> > > So as Alex said somebody would need to dig into that and try=
 to improve the
> > > numbers without toasting the hardware.
> >=20
> > So that would mean for example using fb=3D29.7   Ref=3D2   post=
=3D10?
> >=20
> > Or would that fry the hardware?
>=20
> That should work.  You aren't likely to fry the hw.  You just don't wa=
nt to
> set a 400 Mhz clock as you monitor properly won't like it.  The hard p=
art is
> adjusting the algorithm to reliably calculate a good value for a wide =
range
> of clocks.

I'm not sure if those values would work. A post divider of 10 might result =
in a
to high VCO and that could indeed damage the hardware (even if that's rather
unlikely).

Essentially the target clock multiplied with the post divider must be in a
certain range. I think between pll->pll_out_max and pll->pll_out_min.

I think the problem is that we don't try to choose a good value to match the
target frequency as close as possible in avivo_get_post_div, but just a val=
ue
that either matches the maximum or minimum VCO frequency.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396023761.eB61C61.25380-- --===============1779502157== 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 --===============1779502157==--