Hi,

On 02/15/2014 09:45 PM, Luc Verhaegen wrote:

<snip>

> As for the dotclocks themselves. In my KMS driver, where i use the 
> available video pll for dotclocks, i get pretty decent approximation. 
> Even with the main plls frequency being in 3MHz steps, the divider makes 
> up for (most of) the rest in an almost satisfactory fashion. 

Yes, almost, so what rounding algorithm are you using for the approximation,
I know of at least one monitor where round to closest does not work, where
as round down does work.

Note this is a too small sample size to say anything sensible about this,
but it likely does mean that since the allwinner pll-s are too limited to
make all dotclocks we may need some sort of quirk table.

Note I'm not claiming that you should not round by default, just saying
that we'll need some way to add monitor quirks.

Anyways once you've some code ready to share I'll run it against the trouble
some monitor and send you a patch to add quirk support if that monitor needs it.

Regards,

Hans

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to