From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 495FB139085 for ; Sun, 29 Jan 2017 23:08:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9135145CB; Sun, 29 Jan 2017 23:08:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 858BC145CB for ; Sun, 29 Jan 2017 23:08:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C3F5341265 for ; Sun, 29 Jan 2017 23:08:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93F743A40 for ; Sun, 29 Jan 2017 23:08:46 +0000 (UTC) From: "Alice Ferrazzi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alice Ferrazzi" Message-ID: <1485729061.eb8341f8d1ea3b6f8103e6cc920d62b86c6383e2.alicef@gentoo> Subject: [gentoo-commits] proj/linux-patches:4.9 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 2700_schedule-the-output_poll_work-with-1s-delay-if-we-have-delayed-event.patch X-VCS-Directories: / X-VCS-Committer: alicef X-VCS-Committer-Name: Alice Ferrazzi X-VCS-Revision: eb8341f8d1ea3b6f8103e6cc920d62b86c6383e2 X-VCS-Branch: 4.9 Date: Sun, 29 Jan 2017 23:08:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: afb4503d-bd26-4907-9476-97fc46e5cafc X-Archives-Hash: 25a2e1f6509609fcedc9dc936fbaf3ab commit: eb8341f8d1ea3b6f8103e6cc920d62b86c6383e2 Author: Alice Ferrazzi gentoo org> AuthorDate: Sun Jan 29 22:31:01 2017 +0000 Commit: Alice Ferrazzi gentoo org> CommitDate: Sun Jan 29 22:31:01 2017 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=eb8341f8 Fix xorg hangs on startup with nouveau on optimus systems. see bug #607636 0000_README | 4 ++++ ...rk-with-1s-delay-if-we-have-delayed-event.patch | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/0000_README b/0000_README index 970967a..ee1a951 100644 --- a/0000_README +++ b/0000_README @@ -75,6 +75,10 @@ Patch: 1510_fs-enable-link-security-restrictions-by-default.patch From: http://sources.debian.net/src/linux/3.16.7-ckt4-3/debian/patches/debian/fs-enable-link-security-restrictions-by-default.patch/ Desc: Enable link security restrictions by default. +Patch: 2700_schedule-the-output_poll_work-with-1s-delay-if-we-have-delayed-event.patch +From: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=68f458eec7069d618a6c884ca007426e0cea411b +Desc: Schedule the output_poll_work with 1s delay if we have delayed event. (Bug #607636) + Patch: 2900_dev-root-proc-mount-fix.patch From: https://bugs.gentoo.org/show_bug.cgi?id=438380 Desc: Ensure that /dev/root doesn't appear in /proc/mounts when bootint without an initramfs. diff --git a/2700_schedule-the-output_poll_work-with-1s-delay-if-we-have-delayed-event.patch b/2700_schedule-the-output_poll_work-with-1s-delay-if-we-have-delayed-event.patch new file mode 100644 index 0000000..198840a --- /dev/null +++ b/2700_schedule-the-output_poll_work-with-1s-delay-if-we-have-delayed-event.patch @@ -0,0 +1,22 @@ +--- a/drivers/gpu/drm/drm_probe_helper.c ++++ b/drivers/gpu/drm/drm_probe_helper.c +@@ -143,8 +143,18 @@ void drm_kms_helper_poll_enable_locked(struct drm_device *dev) + } + + if (dev->mode_config.delayed_event) { ++ /* ++ * FIXME: ++ * ++ * Use short (1s) delay to handle the initial delayed event. ++ * This delay should not be needed, but Optimus/nouveau will ++ * fail in a mysterious way if the delayed event is handled as ++ * soon as possible like it is done in ++ * drm_helper_probe_single_connector_modes() in case the poll ++ * was enabled before. ++ */ + poll = true; +- delay = 0; ++ delay = HZ; + } + + if (poll)