Hi Stefan,<br><br>On Sunday, 27 December 2015, Stefan Agner <<a href="mailto:stefan@agner.ch">stefan@agner.ch</a>> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
However, I think with my patch "drm/fsl-dcu: Fix no fb check bug", this<br>
situation can be avoided completely:<br>
<a href="https://lkml.org/lkml/2015/11/18/950" target="_blank">https://lkml.org/lkml/2015/11/18/950</a><br>
<br>
With that patch applied, and a non-existing panel assigned, the DRM<br>
driver already fails at probe time gracefully:<br>
[    0.488291] [drm] Initialized drm 1.1.0 20060810<br>
[    0.501576] fsl-dcu 40058000.dcu: failed to initialize mode setting<br>
<br>
So I think that a state->fb check for NULL is not necessary at all...<br>
<br>
Can you test my patch to see if it fixes the issue for you too?<br>
</blockquote><div><br></div><div>This is still required; state->fb being NULL means the plane is being disabled.</div><div><br></div><div>Cheers,</div><div>Daniel </div>