<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 31 December 2015 at 02:46, Carlos Palminha <span dir="ltr"><<a href="mailto:CARLOS.PALMINHA@synopsys.com" target="_blank">CARLOS.PALMINHA@synopsys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi guys,<br>
<br>
I'm writing a DRM driver for a framebuffer embedded hardware that uses an i2c encoder (adv7511), following the basic steps suggested by Laurent in "anatomy of an embedded KMS driver": <a href="https://www.youtube.com/watch?v=Ja8fM7rTae4" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=Ja8fM7rTae4</a><br>
<br>
After initiliazing all kms, crtc, encoder, i2c, connector functions and structures i'm calling drm_fbdev_cma_init to create a fbdev.<br>
<br>
When booting i'm getting an error message saying "No connectors reported connected with modes", but the driver init is ok and i can find the /dev/dri/* and /dev/fb0 devices.<br>
<br>
Any clue what i might be missing during the driver load?<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I think you should check on the 'get_modes' call back of adv7511 driver. (Or, if possible show us the code.)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Best,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">-xinliang</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Thanks...<br>
<br>
Regards,<br>
C.Palminha<br>
<br>
--- boot log snippet ---<br>
[drm] Initialized drm 1.1.0 20060810<br>
drm-arcpgu e0017000.pgu: No connectors reported connected with modes<br>
[drm] Cannot find any crtc or sizes - going 1024x768<br>
Console: switching to colour frame buffer device 128x48<br>
drm-arcpgu e0017000.pgu: fb0: frame buffer device<br>
[drm] Initialized drm-arcpgu 1.0.0 20151127 on minor 0<br>
--- boot log snippet ---<br>
--<br>
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in<br>
the body of a message to <a href="mailto:majordomo@vger.kernel.org" target="_blank">majordomo@vger.kernel.org</a><br>
More majordomo info at <a href="http://vger.kernel.org/majordomo-info.html" rel="noreferrer" target="_blank">http://vger.kernel.org/majordomo-info.html</a><br>
</blockquote></div><br></div></div>