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

From: Daniel Stone
Date: Thu Mar 23 2017 - 08:01:41 EST


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>

Cheers,
Daniel