From patchwork Mon Aug 13 17:51:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Fredrik_Sch=C3=B6n?= X-Patchwork-Id: 10565565 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C157157B for ; Tue, 14 Aug 2018 12:44:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A88029AC8 for ; Tue, 14 Aug 2018 12:44:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D23E29AF4; Tue, 14 Aug 2018 12:44:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D8ABF29AC8 for ; Tue, 14 Aug 2018 12:44:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1BBFC89B61; Tue, 14 Aug 2018 12:44:20 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1AE1F6E1E6 for ; Mon, 13 Aug 2018 17:51:53 +0000 (UTC) Received: by mail-lj1-x22a.google.com with SMTP id y17-v6so13261670ljy.8 for ; Mon, 13 Aug 2018 10:51:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+8Gt0gWaVPGYSxmJkcYezNMn8W1SyaAXINUFRrvzTdA=; b=VvQCwOl824ooqJbkkzijbEFEexUawVuk1GtyMRvgurMu2sL4zLxyhqJ+UzInany6Ln H052/cR0bR423lo7vXwyeh6YPMgs/uCai10Jjh7xrCPIkgS8YQOt45VuM0xokeSYTdD1 SeCgHy1GvqZ6WUDcz7qMD9JAtIvcNuYlCSHUFFYDviJ9TflrZv+NycD0bET1ZNgKytgO SIRQYGj4S8zfQM8CRPzfvz/83z/a/grLj2QCs3QMiEHKvATkeY+ANKnDahQ9Ky8HvOfL NYwWbebDArEMZEddMfOcmHCT3Dj2ioA8YccdtC8E4GX/Z5hczGFC7srweRkCF5Tnc/tl AE7g== X-Gm-Message-State: AOUpUlHL6CtDPvr93ddkj/aYNYXrsxqTg3j1gyv0t+pehsESpAt0eI6w I7dfmHtfQ9HQ0jHBbWK+kN4F+hYv X-Google-Smtp-Source: AA+uWPyt+rxcCCKIunB3x1VwKzFDfl9oesnJZmdDMRtRvG14fAG6l4lqQWxvFl6WWZ8uMPhP9L0Grg== X-Received: by 2002:a2e:712:: with SMTP id 18-v6mr13589718ljh.101.1534182711189; Mon, 13 Aug 2018 10:51:51 -0700 (PDT) Received: from localhost.localdomain (h-117-148.A147.priv.bahnhof.se. [82.196.117.148]) by smtp.gmail.com with ESMTPSA id e20-v6sm3446618lff.41.2018.08.13.10.51.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Aug 2018 10:51:50 -0700 (PDT) From: " =?utf-8?q?Fredrik_Sch=C3=B6n?= " X-Google-Original-From: =?utf-8?q?Fredrik_Sch=C3=B6n?= To: intel-gfx@lists.freedesktop.org Date: Mon, 13 Aug 2018 19:51:33 +0200 Message-Id: <20180813175133.24910-1-fredrik.schon@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 14 Aug 2018 12:44:18 +0000 Subject: [Intel-gfx] [PATCH] [drm][i915] Increase LSPCON timeout X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Fredrik_Sch=C3=B6n?= Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP 100 ms is not enough time for the LSPCON adapter on Intel NUC devices to settle. This causes dropped display modes at driver initialisation. Increase timeout to 1000 ms. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1570392 Signed-off-by: Fredrik Schön Reviewed-by: Rodrigo Vivi --- drivers/gpu/drm/i915/intel_lspcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_lspcon.c b/drivers/gpu/drm/i915/intel_lspcon.c index 8ae8f42f430a..be1b08f589a4 100644 --- a/drivers/gpu/drm/i915/intel_lspcon.c +++ b/drivers/gpu/drm/i915/intel_lspcon.c @@ -74,7 +74,7 @@ static enum drm_lspcon_mode lspcon_wait_mode(struct intel_lspcon *lspcon, DRM_DEBUG_KMS("Waiting for LSPCON mode %s to settle\n", lspcon_mode_name(mode)); - wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 100); + wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 1000); if (current_mode != mode) DRM_ERROR("LSPCON mode hasn't settled\n");