Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3205948pxk; Mon, 28 Sep 2020 10:59:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6u0AP0EMsaA2ZISXMhXfX8bHH1Yd9rTiPelydg1vX+qEtSEnp6JEA3cQ3l9rfcrPKVJDC X-Received: by 2002:aa7:ce97:: with SMTP id y23mr3190593edv.128.1601315967327; Mon, 28 Sep 2020 10:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601315967; cv=none; d=google.com; s=arc-20160816; b=ayqKKKhqF9qi0MCfKQteCHHdwh2m1mJcAhKjxy1PO8HTqlMRGVKrejRMgf34Wnh/wx hSeRbtxlzuwvCJt18W58smCpjoWUgMtMF6wunjuJOd69yP4JsVP/Znxc4BsPd82NEc7e O7Un5t7oe4M+AZOsAQuQ35gZBvJFFIVsBiX5eV1u/c2dN8K08wLro/RAKgG/xLKxob4H 7DBPifAG/X0zwWCF1MA1vmXIzOhY8qpayIN+SWfeKVaenOnPuUlvZMTAt44iOYKAYOwh lD+HKzb42qA27Dca6oJc/szi5iSl7D07a+YcvcJefxQjj21btoio50EUl8gIoDsvabZo FJJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=aahwAE8eSdyCGdG89l5tVRtTtfJEX6hTrE0+annNaAI=; b=xFvJ/F0iRq5RJ9AuXQ1DVcR46JBOBQN7GCZGsz2pZUbDOyLhE2H4EwLilWot/9Xigd +h32Utaq+ahbCXF62ik5CHJMLjO0O02u8kKJ0/iNrl27z2T/ieJI9Ucpogl5JZTlzfkg VmlJU0HLmHvZIDCgte9QFeah0y7RsoxSou87X/9JE4tlvomgvpZ62uWEKoKVRc0cY6W5 Y7dfrptmDGVODaFoWqJeo3dc0ilChc5quzK0SwaAxucD9WlTWawj4zFsIDv/XJQmxMmb hQCWZh749p+4R2Xn3x47RakomOKdFQc0cHXyOFe7az3SKQuuj5PKIn0GtDqm1pZR8WBA kRDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h16si1122980edr.336.2020.09.28.10.59.05; Mon, 28 Sep 2020 10:59:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726614AbgI1Rzb (ORCPT + 99 others); Mon, 28 Sep 2020 13:55:31 -0400 Received: from mga11.intel.com ([192.55.52.93]:57229 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726504AbgI1Rzb (ORCPT ); Mon, 28 Sep 2020 13:55:31 -0400 IronPort-SDR: QBYgob4yh483EO3DdqkSSk0RVTLItTcfiLQRKYEbc2JCTqys6UjD1AboBS21FoQrvrYA0x+pl4 CCoTdRDd73uw== X-IronPort-AV: E=McAfee;i="6000,8403,9758"; a="159373386" X-IronPort-AV: E=Sophos;i="5.77,313,1596524400"; d="scan'208";a="159373386" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 10:32:26 -0700 IronPort-SDR: j8xoHDJJ45rGwOwoyZZF+HllFLLJ158Zya1dckhQLHFShb8AsHRsnJgHZ0XZbKAsPILnuPhSUL yTL6bLE1PmoA== X-IronPort-AV: E=Sophos;i="5.77,313,1596524400"; d="scan'208";a="488674823" Received: from lizwalsh-mobl3.ger.corp.intel.com (HELO localhost) ([10.251.86.12]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 10:32:21 -0700 From: Jani Nikula To: Matt Roper Cc: "Surendrakumar Upadhyay\, TejaskumarX" , "Vivi\, Rodrigo" , "airlied\@linux.ie" , "daniel\@ffwll.ch" , "intel-gfx\@lists.freedesktop.org" , "dri-devel\@lists.freedesktop.org" , "linux-kernel\@vger.kernel.org" , "Ausmus\, James" , "Souza\, Jose" , "ville.syrjala\@linux.intel.com" , "De Marchi\, Lucas" , "Pandey\, Hariom" Subject: Re: [PATCH 1/2] drm/i915/jsl: Split EHL/JSL platform info and PCI ids In-Reply-To: <20200928172447.GA2157395@mdroper-desk1.amr.corp.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20200928080931.246347-1-tejaskumarx.surendrakumar.upadhyay@intel.com> <20200928080931.246347-2-tejaskumarx.surendrakumar.upadhyay@intel.com> <87d026owdq.fsf@intel.com> <874knhq0x1.fsf@intel.com> <20200928172447.GA2157395@mdroper-desk1.amr.corp.intel.com> Date: Mon, 28 Sep 2020 20:32:38 +0300 Message-ID: <87sgb1olhl.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Sep 2020, Matt Roper wrote: > Why are we adding IS_JASPERLAKE at all? EHL/JSL are documented as the > same graphics IP, but are paired with different PCHs in the final SoCs, > which is what causes the minor differences in programming. My > understanding is that the voltage programming differences are ultimately > due to that difference in PCH so we should just use HAS_PCH_MCC (EHL) > and HAS_PCH_JSP (JSL) to distinguish which type of programming is needed > rather than using a platform test. Good point. If the difference is in the PCH, then of course the PCH check should be used instead. Which avoids the problem altogether. BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center