From patchwork Thu Jul 14 21:08:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 9230669 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4CF6D60572 for ; Thu, 14 Jul 2016 21:08:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 303D1281B7 for ; Thu, 14 Jul 2016 21:08:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24E532830A; Thu, 14 Jul 2016 21:08:46 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0241281B7 for ; Thu, 14 Jul 2016 21:08:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E8E2E6E39B; Thu, 14 Jul 2016 21:08:44 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1E2CA6E39B for ; Thu, 14 Jul 2016 21:08:43 +0000 (UTC) Received: by mail-wm0-x244.google.com with SMTP id i5so273328wmg.2 for ; Thu, 14 Jul 2016 14:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Hj/KhbKIVvJyhWiCmebfE8WJV5lkvA0rAT2xgAhgmSU=; b=yE9xM4a/dfhk8VEAa72DuvcSv9ljlaQgztfrjDTtXZnBEQO26t2H2fLqLsZbNI/LDX H8CBEVWq7C5kCs3HaebP8imXoRDyNxVXh8WEiWrXCsX/Xu7uR7+31FMLfmhCdHd1rK8z OHD5A2zpo+lAaldZnCJ8uPGGzKNjGlpf8iXQYzAKzlXlCEQoDQXtUr2uyVrJdKzyxMOX 4bcCNmfCOeTXCYWTrDAF+sySLQ9Ewg9ZNVh9sehia6cLvAcu1H8et8kt/AeaDvm0MBqf u/rOLCMMG1Sv5Nb/RsDpgy/kSfFuChI+A/RxpLVuLlTdL+623iNPAMur+FvvSjdC6FLb XSuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Hj/KhbKIVvJyhWiCmebfE8WJV5lkvA0rAT2xgAhgmSU=; b=hOMIwcTH4juZ8Emtz3EN3vTQk077EUjf3CGyGZn4u5XawkYr4LOSRLmnmbXg6cJs5Z LfRx9kuICcv99Uqt7/jCDPAYhkMy8HYqRtu6amWDA/xOX/Sn4pIp22ZL6WL0K+HABhTK XR5AV6Lf7dzPpLczBiOgCPK2AD9SyDU837umJBwLuKxKYqHURQTfBBVORGKzSwDuTMSI 9VyHUR95dtbb+hvXUxHfLCP3c3TfM/CQf2VORrrImV6X2KqKzzG7Lmz4so6IpQ6YF2SC 3HQlioMSt8umYO8vDmRY9louPtEzDFEe5mea+oYjUhi3BVFRBOzs23mrN9rYwHGR6/+A cCPw== X-Gm-Message-State: ALyK8tKH9HBtvni5lqYcNAcf1eEk/Jnf/vF6yU1sTA/gCd5zl0awye601ouVtKZ2dnZhdQ== X-Received: by 10.28.158.206 with SMTP id h197mr19795211wme.50.1468530521389; Thu, 14 Jul 2016 14:08:41 -0700 (PDT) Received: from fambox.fambox-domain ([176.0.22.96]) by smtp.gmail.com with ESMTPSA id d80sm370257wmd.14.2016.07.14.14.08.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jul 2016 14:08:40 -0700 (PDT) From: Sedat Dilek To: Date: Thu, 14 Jul 2016 23:08:18 +0200 Message-Id: <20160714210818.21596-1-sedat.dilek@gmail.com> X-Mailer: git-send-email 2.9.0 MIME-Version: 1.0 Cc: Sedat Dilek , Daniel Vetter , intel-gfx@lists.freedesktop.org Subject: [Intel-gfx] [PATCH d-i-n] drm/i915: Fix build failure in intel_opregion_get_panel_type() X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Tested against drm-intel-nightly (2016y-07m-14d-20h-15m-29s UTC). Fixes: aeddda06c1a704bb9 ("drm/i915: Ignore panel type from OpRegion on SKL") CC: intel-gfx@lists.freedesktop.org CC: Ville Syrjälä CC: Daniel Vetter Signed-off-by: Sedat Dilek --- drivers/gpu/drm/i915/intel_opregion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c index c804630d10d2..adca262d591a 100644 --- a/drivers/gpu/drm/i915/intel_opregion.c +++ b/drivers/gpu/drm/i915/intel_opregion.c @@ -1078,7 +1078,7 @@ intel_opregion_get_panel_type(struct drm_i915_private *dev_priv) * vswing instead. Low vswing results in some display flickers, so * let's simply ignore the OpRegion panel type on SKL for now. */ - if (IS_SKYLAKE(dev)) { + if (IS_SKYLAKE(dev_priv)) { DRM_DEBUG_KMS("Ignoring OpRegion panel type (%d)\n", ret - 1); return -ENODEV; }