[PATCH] ARM: imx: propagate DI clock changes up the clock tree to PLL5

Tim Harvey tharvey at gateworks.com
Sat Apr 12 01:04:58 PDT 2014


On Fri, Apr 11, 2014 at 7:00 AM, Lucas Stach <l.stach at pengutronix.de> wrote:
> Hi Tim,
>
> I think this is fallout from how we handle the EDID fetch on startup. We
> have patches lying around to fix this. Will post them in a minute.
>
> Regards,
> Lucas

Lucas,

I applied your 4 patches, but that didn't resolve my situation where
the display isn't enabled when connected on board powerup. It appears
that imx_hdmi_poweron() isn't called in this case.

It looks like the issue is that when drm_helper_hpd_irq_event is
called from the first imx_hdmi_irq polling is not yet enabled and thus
it doesn't call the other helpers which would end up calling
imx_hdmi_poweron. Polling gets enabled at the very end of
imx_drm_driver_load which is after the irq is requested, fired, and
serviced.

I'm not clear what the right solution is - should the poll be enabled
earlier, or should imx_hdmi_encoder_dpms(...) be called someplace at
registration?

Tim



More information about the linux-arm-kernel mailing list