[PATCH] drm: tilcdc: add a workaround for failed clk_set_rate()

Tomi Valkeinen tomi.valkeinen at ti.com
Wed Sep 28 11:55:18 UTC 2016


On 28/09/16 14:43, Bartosz Golaszewski wrote:

> how far is far enough to emit a warning? On da850 the requested rate
> is 228000000 Hz, while the calculated divider is 6, which results in
> the real rate of 225000000 Hz. This is less than 1% difference -
> should we take this value as reference?

Good question, and I don't have a clear answer. But I think the point is
just to inform the user that it's likely that his LCD won't work
properly, and often LCDs are quite tolerant about the pclk. So diff less
than 1% is just fine. Even 5% sounds still fine to me, perhaps even 10%.
I think we just have to try something out, and adjust it if people get
the message too often.

 Tomi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160928/5377aea6/attachment-0001.sig>


More information about the dri-devel mailing list