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=-16.8 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,USER_AGENT_GIT 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 9F1D7C48BE6 for ; Mon, 14 Jun 2021 09:22:48 +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 479E26128A for ; Mon, 14 Jun 2021 09:22:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 479E26128A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A061089D7C; Mon, 14 Jun 2021 09:22:47 +0000 (UTC) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3E3B689D7C; Mon, 14 Jun 2021 09:22:46 +0000 (UTC) IronPort-SDR: wr0fOOcYSItQl30/QwfmGIMxyNA8evWSrqChBgL3aHRAin4AqWjLYB9Lo6DS8CU5ytMQRCZkyp +XUU1G0BNPfg== X-IronPort-AV: E=McAfee;i="6200,9189,10014"; a="203951066" X-IronPort-AV: E=Sophos;i="5.83,273,1616482800"; d="scan'208";a="203951066" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2021 02:22:45 -0700 IronPort-SDR: LGdL2WJWiMGi8tfogDPnOidkW/PIhK9wmi5QYs+UVC8cC2mQU1rBs2hTADiiS32iYBFItAZ57T nFE0dTj/Um1w== X-IronPort-AV: E=Sophos;i="5.83,273,1616482800"; d="scan'208";a="403835129" Received: from chanily-mobl.ger.corp.intel.com (HELO mwauld-desk1.intel.com) ([10.252.31.39]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2021 02:22:43 -0700 From: Matthew Auld To: intel-gfx@lists.freedesktop.org Subject: [PATCH] drm/i915: allow DG1 autoprobe for CONFIG_BROKEN Date: Mon, 14 Jun 2021 10:22:27 +0100 Message-Id: <20210614092227.97421-1-matthew.auld@intel.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= , dri-devel@lists.freedesktop.org, Daniel Vetter Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Purely for CI so we can get some pre-merge results for DG1. This is especially useful for cross driver TTM changes where CI can hopefully catch regressions. This is similar to how we already handle the DG1 specific uAPI, which are also hidden behind CONFIG_BROKEN. Signed-off-by: Matthew Auld Cc: Thomas Hellström Cc: Daniel Vetter Cc: Dave Airlie --- drivers/gpu/drm/i915/i915_pci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index 83b500bb170c..78742157aaa3 100644 --- a/drivers/gpu/drm/i915/i915_pci.c +++ b/drivers/gpu/drm/i915/i915_pci.c @@ -1040,6 +1040,9 @@ static const struct pci_device_id pciidlist[] = { INTEL_RKL_IDS(&rkl_info), INTEL_ADLS_IDS(&adl_s_info), INTEL_ADLP_IDS(&adl_p_info), +#if IS_ENABLED(CONFIG_DRM_I915_UNSTABLE_FAKE_LMEM) + INTEL_DG1_IDS(&dg1_info), +#endif {0, 0, 0} }; MODULE_DEVICE_TABLE(pci, pciidlist); -- 2.26.3