Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6817039pxb; Wed, 17 Feb 2021 14:28:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxeZ9tL2/mrLPvtm0eb1qxrplp2zN21mdsMH0A6VOxmToiNUyW7ZBf1ZmcmHJV+JBV8z2YT X-Received: by 2002:a17:906:199a:: with SMTP id g26mr1058897ejd.485.1613600932768; Wed, 17 Feb 2021 14:28:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613600932; cv=none; d=google.com; s=arc-20160816; b=TpvQyBqhHYKk6M8heUrtGK1qDAHeZcRVXKpGUSg3luMFAhmPiwr90yZBr6ZIdnz94t OlkgY9f5gZfnAZkH2xiyTLeUl+vqpupfUlCqrpYBYstnnKBlJNUT2r5HkXjnTz2ZLyEm RVwuqdlA4AJHd2EVwOE+mT2z/zD9wN55hXC30w+60PxgNJi2CJgTjdqWrdKZoZvy76Y1 MlwE8Uwwo44o1Cd0Hj3R7mFiSxVc9nufXjq0ph4fISQJBov6T/LNhEBD7dGHsjuNHzve vaKJXdZPkTrnzKZLb8eEJfGgGsibAldNPCTU4ANIbRWKVZGhJ0DFnGpy2Gx0FqRvpwX0 O0MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=UzIer2WDkblw67rjLRVCq+p6DeBO/dAZDE/GVbtkkqw=; b=tr/qQZror4yoeUFGksU4gjsM0FFg0J02xqwr7EqHgLXgXHomgyEw/w17k4WFXpX0/g HD/nqBpcIGayeBF6cVA5eI/cE8YYa2iarGz2nQHffDa+rKr4pk45dyMkkXu32jnhpamK pLs1BiPfgO2KybOx9VdkdEgbJrYFpcYRAXlp5LxCJs8ZJrVR1AE94ZJQB9ur2yaAyE80 RvVp8pT8h6ZhipgcHlNtHY0Cmq9ZBRz0q+I1kvj/WO78ryjZlMgR0V0Gts1lrcIgS+ym 9KEvCgByLI0MaJIb/YQaBjAxvP9Jso7Wp52c46/zOZFvAX528jJbN/4h0h7SYCCjYyjj oQyA== 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 t1si1564238edq.596.2021.02.17.14.28.28; Wed, 17 Feb 2021 14:28:52 -0800 (PST) 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 S234801AbhBQSUB (ORCPT + 99 others); Wed, 17 Feb 2021 13:20:01 -0500 Received: from mga04.intel.com ([192.55.52.120]:37910 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233681AbhBQST7 (ORCPT ); Wed, 17 Feb 2021 13:19:59 -0500 IronPort-SDR: jMU7FshkCpeS+1HMGQy9XiTXIPhdEpvnBOy2ZEahUUeb/SNJvgdl0fDyT0aIo+Q+S3pOJlYQQO GMtKVStS1mRw== X-IronPort-AV: E=McAfee;i="6000,8403,9898"; a="180717010" X-IronPort-AV: E=Sophos;i="5.81,185,1610438400"; d="scan'208";a="180717010" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2021 10:19:01 -0800 IronPort-SDR: 10/4LOWbbDnZydEs+vFTlUYsXzTSAzQnuDjBVxyDtp4FHP9x+tcj8xiNBV49xXOPLYOR6BMZ3y Q5hA4fy5S5Tw== X-IronPort-AV: E=Sophos;i="5.81,185,1610438400"; d="scan'208";a="401386165" Received: from gfreude-mobl.amr.corp.intel.com (HELO intel.com) ([10.209.147.126]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2021 10:19:00 -0800 Date: Wed, 17 Feb 2021 13:18:58 -0500 From: Rodrigo Vivi To: Lyude Paul Cc: intel-gfx@lists.freedesktop.org, David Airlie , open list , "open list:DRM DRIVERS" , Tejas Upadhyay Subject: Re: [PATCH v3 2/2] drm/i915/icp+: Use icp_hpd_irq_setup() instead of spt_hpd_irq_setup() Message-ID: References: <20210217025337.1929015-1-lyude@redhat.com> <20210217025337.1929015-2-lyude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210217025337.1929015-2-lyude@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 16, 2021 at 09:53:37PM -0500, Lyude Paul wrote: > While reviewing patches for handling workarounds related to gen9 bc, Imre > from Intel discovered that we're using spt_hpd_irq_setup() on ICP+ PCHs > despite it being almost the same as icp_hpd_irq_setup(). Since we need to > be calling icp_hpd_irq_setup() to ensure that CML-S/TGP platforms function > correctly anyway, let's move platforms using PCH_ICP which aren't handled > by gen11_hpd_irq_setup() over to icp_hpd_irq_setup(). > > Cc: Tejas Upadhyay > Signed-off-by: Lyude Paul makes sense to me... Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/i915_irq.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c > index f86b147f588f..7ec61187a315 100644 > --- a/drivers/gpu/drm/i915/i915_irq.c > +++ b/drivers/gpu/drm/i915/i915_irq.c > @@ -4320,6 +4320,8 @@ void intel_irq_init(struct drm_i915_private *dev_priv) > dev_priv->display.hpd_irq_setup = gen11_hpd_irq_setup; > else if (IS_GEN9_LP(dev_priv)) > dev_priv->display.hpd_irq_setup = bxt_hpd_irq_setup; > + else if (INTEL_PCH_TYPE(dev_priv) >= PCH_ICP) > + dev_priv->display.hpd_irq_setup = icp_hpd_irq_setup; > else if (INTEL_PCH_TYPE(dev_priv) >= PCH_SPT) > dev_priv->display.hpd_irq_setup = spt_hpd_irq_setup; > else > -- > 2.29.2 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel