On Wed, Sep 5, 2012 at 8:00 PM, Jesse Barnes <jbarnes at virtuousgeek.org> wrote: > Fancy, using ERR_PTR even. :) Consider this a tell-tale of the shape of things to come ;-) I.e. I plan to extend this adjusted_mode computation to a full up-front resource allocation step to decide about pipe bpp, dithering, bandwidth allocation, pll allocation and all these fancy things. And Chris wanted better error codes, so I've just started somewhere - in the middle of the callchain, so doesn't really do anything yet, but ... -Daniel -- Daniel Vetter daniel.vetter at ffwll.ch - +41 (0) 79 365 57 48 - http://blog.ffwll.ch