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

Daniel Stone daniel at fooishbar.org
Thu Mar 23 12:01:30 UTC 2017


Hi Michel,

On 23 March 2017 at 08:53, Michel Dänzer <michel at daenzer.net> 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 at collabora.com>

Cheers,
Daniel


More information about the dri-devel mailing list