Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 4C1D1CD37B0 for ; Mon, 18 Sep 2023 14:18:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 151B110E011; Mon, 18 Sep 2023 14:18:59 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8EABA10E011 for ; Mon, 18 Sep 2023 14:18:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695046736; x=1726582736; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=8FwFtDsbYN2dGrH65oUatK7jtvOQG7dtvexOY5r/6bo=; b=aGgQvOaCZFdwoVR6lWrZH+r2MIBjGBQbW2dBCG7aOnIs40uzTIRWt1ri 16EhAm7ukSQO2/STQgH24MlgvFrMVAHeei+lw/wGfMQs66tJ4NMP/osEz 0YPTi6VpoEdWOVBF6xFF1hdEXmqfYlnmxL1Bwv12LpADv3wf8Y5aVg8D9 s7QFfznWwaHm1PyUnYmcNJAaH1v/QJ04CYRk9Sa7fMjvXjp7tIrY8VWvo R1GZlerQVcKmVYH9KDpO0NjaNZpOr8ME06sPXrW5jiqxdZcsM1tIgdOKZ OXbW4XdQRR8BZDnXMwIpZH9SeRJup5WQwrSOJF6WE/eljFq5Nnt9hl/Gf g==; X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="466015720" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="466015720" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 07:18:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="1076605058" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="1076605058" Received: from clanggaa-mobl.ger.corp.intel.com (HELO [10.249.254.250]) ([10.249.254.250]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 07:18:54 -0700 Message-ID: <510b7135-3583-e3de-6403-aaef5a7616e9@linux.intel.com> Date: Mon, 18 Sep 2023 16:18:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: Maarten Lankhorst , intel-xe@lists.freedesktop.org References: <20230915180610.39266-1-thomas.hellstrom@linux.intel.com> Content-Language: en-US From: =?UTF-8?Q?Thomas_Hellstr=c3=b6m?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Intel-xe] [RFC PATCH] drm/xe/display: Select some missing configs X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On 9/18/23 16:17, Maarten Lankhorst wrote: > > > On 2023-09-15 20:06, Thomas Hellström wrote: >> When selecting CONFIG_XE_DISPLAY, the following missing symbols can be >> seen unless something else has selected the corresponding configs. >> >> ERROR: modpost: "cfb_copyarea" [drivers/gpu/drm/xe/xe.ko] undefined! >> ERROR: modpost: "cfb_fillrect" [drivers/gpu/drm/xe/xe.ko] undefined! >> ERROR: modpost: "cfb_imageblit" [drivers/gpu/drm/xe/xe.ko] undefined >> >> Make sure these are included in the Xe Display build. >> >> Cc: Maarten Lankhorst >> Signed-off-by: Thomas Hellström >> --- >>   drivers/gpu/drm/xe/Kconfig | 3 +++ >>   1 file changed, 3 insertions(+) >> >> diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig >> index 096bd066afa8..ed2dd73f153b 100644 >> --- a/drivers/gpu/drm/xe/Kconfig >> +++ b/drivers/gpu/drm/xe/Kconfig >> @@ -45,6 +45,9 @@ config DRM_XE >>   config DRM_XE_DISPLAY >>       bool "Enable display support" >>       depends on DRM_XE && EXPERT >> +    select FB_CFB_COPYAREA >> +    select FB_CFB_FILLRECT >> +    select FB_CFB_IMAGEBLIT >>       select I2C >>       select I2C_ALGOBIT >>       default y > Make that FB_IOMEM_HELPERS, and you can add my r-b. :-) > > Reviewed-by: Maarten Lankhorst Thanks! I'll fix up. /Thomas