Re: [PATCH] drm/fb-helper: Allow var->x/yres(_virtual) < fb->width/height again

From: Daniel Vetter
Date: Thu Mar 23 2017 - 09:59:42 EST


On Thu, Mar 23, 2017 at 12:01:30PM +0000, Daniel Stone wrote:
> Hi Michel,
>
> On 23 March 2017 at 08:53, Michel Dänzer <michel@xxxxxxxxxxx> wrote:
> > Otherwise this can also prevent modesets e.g. for switching VTs, when
> > multiple monitors with different native resolutions are connected.
> >
> > The depths must match though, so keep the != test for that.
> >
> > Also update the DRM_DEBUG output to be slightly more accurate, this
> > doesn't only affect requests from userspace.
>
> This test looks much more sensible, and also fixes VT switching for me.
>
> Reviewed-by: Daniel Stone <daniels@xxxxxxxxxxxxx>

Applied to drm-misc-fixes, will send a pull request for it asap.

Thanks, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch