[PATCH 0/5] clk: rockchip: add full support for HDMI clock on rk3288
Doug Anderson
dianders at chromium.org
Thu Jan 21 12:11:00 PST 2016
Hi,
On Thu, Jan 21, 2016 at 1:03 AM, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
> So we have a mechanism for detecting a conflict in the clock
> hierarchy, and a mechanism to solve it, but we are missing a way for
> userspace to communicate policy regarding which clocks should be given
> priority when solving such a conflict?
Hrmmm, I guess it could be userspace that makes the decision. It does
seem a little odd to force it to userspace in all cases, though. For
a particular laptop that is designed with a specific panel connected
up eDP it seems less than ideal to push this into userspace. If the
kernel could just work in the expected sane way (or at least work that
way by default) it would be ideal.
If the kernel doesn't try to do anything sane by default then you're
creating a requirement for everyone's userspace to somehow figure this
out. Do you expect there to be UI here, or that this would be
something that would be figured out by the Linux distribution?
Certainly exposing UI on something like a laptop with a builtin panel
wouldn't make any sense to me, but it might make sense if you had an
eval board with different display connectors on it. If there's no UI,
would the Linux distribution need to somehow identify which board we
were on and then have a big lookup table about how to configure
things?
More information about the Linux-rockchip
mailing list