From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1723BC433DB for ; Mon, 22 Feb 2021 18:16:38 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A275364F45 for ; Mon, 22 Feb 2021 18:16:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A275364F45 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 07C2789CC4; Mon, 22 Feb 2021 18:16:37 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3EB7189CC4 for ; Mon, 22 Feb 2021 18:16:35 +0000 (UTC) IronPort-SDR: jlMa4uk688Edy3+Cg0A7GZwOcrFIAlewu+Q+GyZ7arV3od/F/WZ5vltcpvAhktBgCvL2Mxcq8q 4PvoUf646d/w== X-IronPort-AV: E=McAfee;i="6000,8403,9903"; a="171679274" X-IronPort-AV: E=Sophos;i="5.81,197,1610438400"; d="scan'208";a="171679274" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2021 10:16:34 -0800 IronPort-SDR: WOIwXYjCMyWrla/H14nis7LFyj6OfZ/0glzHxRdktBvujwHzIg10hyWEcnX0/wgz8qpo3yvJWF FoOdQMVgSzkg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,197,1610438400"; d="scan'208";a="403156405" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.171]) by orsmga007.jf.intel.com with SMTP; 22 Feb 2021 10:16:32 -0800 Received: by stinkbox (sSMTP sendmail emulation); Mon, 22 Feb 2021 20:16:31 +0200 Date: Mon, 22 Feb 2021 20:16:31 +0200 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Jani Nikula Message-ID: References: <61fb7c20fcc7b11fb5a82a5dedeb8180ada78a99.1613580193.git.jani.nikula@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <61fb7c20fcc7b11fb5a82a5dedeb8180ada78a99.1613580193.git.jani.nikula@intel.com> X-Patchwork-Hint: comment Subject: Re: [Intel-gfx] [PATCH 03/12] drm/i915/bios: limit default outputs by platform on missing VBT X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, Lucas De Marchi Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Wed, Feb 17, 2021 at 07:03:33PM +0200, Jani Nikula wrote: > Pre-DDI and non-CHV aren't using the information created here anyway, so > don't bother setting the defaults for them. This should be a > non-functional change, but is separated here to catch any regressions in > a single commit. > = > Cc: Lucas De Marchi > Cc: Ville Syrj=E4l=E4 > Signed-off-by: Jani Nikula Reviewed-by: Ville Syrj=E4l=E4 > --- > drivers/gpu/drm/i915/display/intel_bios.c | 3 +++ > 1 file changed, 3 insertions(+) > = > diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/= i915/display/intel_bios.c > index a8712fe8bf3e..e9cb15aa2f5a 100644 > --- a/drivers/gpu/drm/i915/display/intel_bios.c > +++ b/drivers/gpu/drm/i915/display/intel_bios.c > @@ -2058,6 +2058,9 @@ init_vbt_missing_defaults(struct drm_i915_private *= i915) > { > enum port port; > = > + if (!HAS_DDI(i915) && !IS_CHERRYVIEW(i915)) > + return; > + > for_each_port(port) { > struct ddi_vbt_port_info *info =3D > &i915->vbt.ddi_port_info[port]; > -- = > 2.20.1 -- = Ville Syrj=E4l=E4 Intel _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx