imx-ldb: "mx-ldb ldb.10: adding encoder failed with -16"

Fabio Estevam festevam at gmail.com
Tue Aug 27 20:48:08 EDT 2013


On Tue, Aug 27, 2013 at 9:35 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi,
>
> Running next-20130827 I get the following probe failure on mx6:
>
> [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> [drm] No driver support for vblank timestamp query.
> [drm] Initialized imx-drm 1.0.0 20120507 on minor 0
> imx-ldb ldb.10: adding encoder failed with -16

If I revert this commit:

commit b5dc0d108cd3c0b50ddcb6f6c54be1bea4c39e01
Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date:   Thu Aug 8 15:41:13 2013 +0200

    drm/imx: kill firstopen callback

    This thing seems to do some kind of delayed setup. Really, real kms
    drivers shouldn't do that at all. Either stuff needs to be dynamically
    hotplugged or the driver setup sequence needs to be fixed.

    This patch here just moves the setup at the very end of the driver
    load callback, with the locking adjusted accordingly.

    v2: Also move the corresponding put from ->lastclose to ->unload.

    Cc: Sascha Hauer <s.hauer at pengutronix.de>
    Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

,then the probe error does not happen.

Will look into in it and discuss at the dri-devel at lists.freedesktop.org list.



More information about the linux-arm-kernel mailing list