Skip to content

Commit d6d38d9

Browse files
elmarcoairlied
authored andcommitted
virtio-gpu: use no-merge for fill-modes
Avoid the sticky preferred mode bit by using the no-merge version of the function (this allows gnome-shell to resize to lower resolutions than the default resolution) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent b50a170 commit d6d38d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/virtio/virtgpu_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ static const struct drm_connector_funcs virtio_gpu_connector_funcs = {
412412
.save = virtio_gpu_conn_save,
413413
.restore = virtio_gpu_conn_restore,
414414
.detect = virtio_gpu_conn_detect,
415-
.fill_modes = drm_helper_probe_single_connector_modes,
415+
.fill_modes = drm_helper_probe_single_connector_modes_nomerge,
416416
.destroy = virtio_gpu_conn_destroy,
417417
.reset = drm_atomic_helper_connector_reset,
418418
.atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state,

0 commit comments

Comments
 (0)