Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1219463

Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N calculation

From Russell King - ARM Linux <linux@arm.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N calculation
Date 2015-09-05 10:40 +0200
Message-ID <q5haW-3AR-21@gated-at.bofh.it> (permalink)
References (3 earlier) <q559M-3hn-11@gated-at.bofh.it> <q56Iz-5B5-17@gated-at.bofh.it> <q593I-lg-5@gated-at.bofh.it> <q59wJ-18i-5@gated-at.bofh.it> <q5b5v-3pQ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 04, 2015 at 07:03:11PM -0700, Doug Anderson wrote:
> AKA: just replace your entire "compute_n" function with:
> 
> return (128 * freq) / 1000;
> 
> ...and it's 100% simpler _and_ gets you a (marginally) better rate
> (assuming you really have 22.175000).  If it was just about a
> 32000.222 vs 32000 I'd not be saying anything right now.  It's about
> adding complexity.

No.  It doesn't work for all cases.  Do the calculations for every
sample rate in those tables in the HDMI spec, and you'll find out
why.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N calculation Doug Anderson <dianders@chromium.org> - 2015-09-04 20:30 +0200
  Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N calculation Doug Anderson <dianders@chromium.org> - 2015-09-04 21:50 +0200
    Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N  calculation Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-09-04 23:30 +0200
      Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N calculation Doug Anderson <dianders@chromium.org> - 2015-09-05 02:00 +0200
        Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N  calculation Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-09-05 02:30 +0200
          Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N calculation Doug Anderson <dianders@chromium.org> - 2015-09-05 04:10 +0200
            Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N  calculation Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-09-05 10:40 +0200
              Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N calculation Doug Anderson <dianders@chromium.org> - 2015-09-05 16:00 +0200
            Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N  calculation Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-09-05 10:40 +0200
              Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N calculation Doug Anderson <dianders@chromium.org> - 2015-09-05 15:50 +0200
                Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N  calculation Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-09-05 16:10 +0200
                Re: [PATCH 6/9] drm: bridge/dw_hdmi: adjust pixel clock values in N calculation Doug Anderson <dianders@chromium.org> - 2015-09-05 21:50 +0200

csiph-web