From patchwork Fri Apr 7 05:54:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sharma, Shashank" X-Patchwork-Id: 9668751 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 ED92D6021C for ; Fri, 7 Apr 2017 05:54:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4E19285FE for ; Fri, 7 Apr 2017 05:54:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C8D5928602; Fri, 7 Apr 2017 05:54:29 +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_SIGNED, 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]) (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 65265285FE for ; Fri, 7 Apr 2017 05:54:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 42FBD6E1E8; Fri, 7 Apr 2017 05:54:28 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 083F56E1E8 for ; Fri, 7 Apr 2017 05:54:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491544466; x=1523080466; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=T3kyXxAeSJMsexyK271q900g8P6iL2y3CIu7ze+CcQA=; b=kXWMPN1t7RJohteD8tHqgXFDIzqtohFR+IzRq9hGTkPqNH1qltXKntQ+ b0HwLYC6qsmvpHuSpy0WnGlvX7sD4A==; Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Apr 2017 22:54:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,163,1488873600"; d="scan'208";a="70897473" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 06 Apr 2017 22:54:26 -0700 Received: from BGSMSX107.gar.corp.intel.com (10.223.4.191) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 6 Apr 2017 22:54:25 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.71]) by BGSMSX107.gar.corp.intel.com ([169.254.9.115]) with mapi id 14.03.0319.002; Fri, 7 Apr 2017 11:24:21 +0530 From: "Sharma, Shashank" To: "Vivi, Rodrigo" , "intel-gfx@lists.freedesktop.org" Thread-Topic: [PATCH 66/67] drm/i915/cnl: LSPCON support is gen9+ Thread-Index: AQHSrwpWrAB1NYZjxUSZQ+5BV9NwWKG5aICg Date: Fri, 7 Apr 2017 05:54:21 +0000 Message-ID: References: <1491506163-14587-1-git-send-email-rodrigo.vivi@intel.com> <1491506163-14587-66-git-send-email-rodrigo.vivi@intel.com> In-Reply-To: <1491506163-14587-66-git-send-email-rodrigo.vivi@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.223.10.10] MIME-Version: 1.0 Subject: Re: [Intel-gfx] [PATCH 66/67] drm/i915/cnl: LSPCON support is gen9+ 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 Reviewed-by: Shashank Sharma Regards Shashank -----Original Message----- From: Vivi, Rodrigo Sent: Thursday, April 6, 2017 10:16 PM To: intel-gfx@lists.freedesktop.org Cc: Vivi, Rodrigo ; Sharma, Shashank Subject: [PATCH 66/67] drm/i915/cnl: LSPCON support is gen9+ There is no platform specific change needed for LSPCON support on Cannonlake. So let's make it gen9+. Cc: Shashank Sharma Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_drv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index fc787dd..bf336bd 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -2986,7 +2986,7 @@ static inline struct scatterlist *__sg_next(struct scatterlist *sg) #define HAS_GMCH_DISPLAY(dev_priv) ((dev_priv)->info.has_gmch_display) -#define HAS_LSPCON(dev_priv) (IS_GEN9(dev_priv)) +#define HAS_LSPCON(dev_priv) (INTEL_GEN(dev_priv) >= 9) /* DPF == dynamic parity feature */ #define HAS_L3_DPF(dev_priv) ((dev_priv)->info.has_l3_dpf)