Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6d38d9d authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Dave Airlie
Browse files

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: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent b50a1705
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ static const struct drm_connector_funcs virtio_gpu_connector_funcs = {
	.save = virtio_gpu_conn_save,
	.restore = virtio_gpu_conn_restore,
	.detect = virtio_gpu_conn_detect,
	.fill_modes = drm_helper_probe_single_connector_modes,
	.fill_modes = drm_helper_probe_single_connector_modes_nomerge,
	.destroy = virtio_gpu_conn_destroy,
	.reset = drm_atomic_helper_connector_reset,
	.atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state,