From patchwork Mon Apr 8 17:04:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621401 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 BE916CD1292 for ; Mon, 8 Apr 2024 17:04:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E4E911288E; Mon, 8 Apr 2024 17:04:35 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="jR3metUM"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 251E6112854 for ; Mon, 8 Apr 2024 17:04:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595873; x=1744131873; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GDTb2AOVhBcDXMyGU85jB79LpVC7WmIrryK5iL8loDA=; b=jR3metUMzbVAAtq2ocL1mvUsngsNApeevAI4IEf5T3U2tRXKTSbK2Stj sZNVW6+RMCdbnu8xGoJNZAqyJ4o5jBZGvpKU0kYcEHxabLcEhlVtmFB23 3Hdb1kN5ddEs8mw1tSOca3rmZvPIJPpzy2y8o1SqIeil1s5VdEnEWLhUe m3nxchq4vkxGS3tH9xgZ7D1VNnvh9bvFGjB77zE9i4VK9sY5IBpBC+SAi +l23Gck+K5MbGSPajxuftRCW3Qt1It2voUmVMQEiXkx3WSCWs9RPujPKM l0ySYpqzHe3sb+eB1BkQFmIrQ5xIYrmkHaZIX9Rnb2Jzt/Blkh/K0Srb1 g==; X-CSE-ConnectionGUID: iHEgKJ1zQguqGHhH51u+pA== X-CSE-MsgGUID: d/mLPY7lQOqLoBudhZQCFQ== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793340" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793340" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:04:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792325" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792325" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:04:29 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:04:29 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Russell King Subject: [PATCH 01/21] drm/armada: Fix printk arguments Date: Mon, 8 Apr 2024 20:04:06 +0300 Message-ID: <20240408170426.9285-2-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä ../drivers/gpu/drm/armada/armada_gem.c: In function ‘armada_gem_pwrite_ioctl’: ../drivers/gpu/drm/armada/armada_gem.c:367:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 367 | DRM_ERROR("invalid size: object size %u\n", dobj->obj.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} Cc: Russell King Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/armada/armada_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_gem.c b/drivers/gpu/drm/armada/armada_gem.c index 26d10065d534..e9575ef5aaef 100644 --- a/drivers/gpu/drm/armada/armada_gem.c +++ b/drivers/gpu/drm/armada/armada_gem.c @@ -364,7 +364,7 @@ int armada_gem_pwrite_ioctl(struct drm_device *dev, void *data, if (args->offset > dobj->obj.size || args->size > dobj->obj.size - args->offset) { - DRM_ERROR("invalid size: object size %u\n", dobj->obj.size); + DRM_ERROR("invalid size: object size %zu\n", dobj->obj.size); ret = -EINVAL; goto unref; } From patchwork Mon Apr 8 17:04:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621402 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 6B944CD1292 for ; Mon, 8 Apr 2024 17:04:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E29C7112891; Mon, 8 Apr 2024 17:04:38 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Fob7pgEI"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5CF14112889 for ; Mon, 8 Apr 2024 17:04:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595876; x=1744131876; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CtBTBjbm+qOyMI4jbSL0/XF518dp/uvv8sVsSOgGuC4=; b=Fob7pgEITKkpRkLbcfBEDTy6ZouX5DngTeyCDHww9WUFT1BZrqQ1Y4i2 wOgGFr+iBRWPvGJ9Z9zmY4Huvf+xGnBq/+1s/T+qoMDO92OdAC8CI3HjA bOjwlvnYqZfZBAYd5aoiAH8Wl8L0e3tWNLEiG146PBNqN4JF5Yd1K78UU kj7mREic7GjRbpdquXDRo9ejoy12Rn1NZoNXdmFxKl9p9vSOsvnaRIZpN zQbv2/nx0xbxiaeIx7Bkwfayjqj2awf5Xzlt8qXpL8chP0a+BCY676MCa OcBU/o/nV+4iHHPaqu5jTyTaYrZd1B5naFj9/BqCjkH5+89YfNnDwgVzc g==; X-CSE-ConnectionGUID: jR5pNofmT9OhBNRMR/muVA== X-CSE-MsgGUID: j3nguOBsRqueG8e4j+JgXA== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793345" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793345" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:04:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792326" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792326" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:04:32 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:04:32 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Russell King Subject: [PATCH 02/21] drm/armada: Fix armada_debugfs_crtc_reg_write() return type Date: Mon, 8 Apr 2024 20:04:07 +0300 Message-ID: <20240408170426.9285-3-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Change the armada_debugfs_crtc_reg_write() return type to the correct ssize_t. This makes the code actually build on certain architectures. Cc: Russell King Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/armada/armada_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_debugfs.c b/drivers/gpu/drm/armada/armada_debugfs.c index 29f4b52e3c8d..338f0f6ca441 100644 --- a/drivers/gpu/drm/armada/armada_debugfs.c +++ b/drivers/gpu/drm/armada/armada_debugfs.c @@ -48,7 +48,7 @@ static int armada_debugfs_crtc_reg_open(struct inode *inode, struct file *file) inode->i_private); } -static int armada_debugfs_crtc_reg_write(struct file *file, +static ssize_t armada_debugfs_crtc_reg_write(struct file *file, const char __user *ptr, size_t len, loff_t *off) { struct armada_crtc *dcrtc; From patchwork Mon Apr 8 17:04:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621403 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 96C62C67861 for ; Mon, 8 Apr 2024 17:04:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A4FAE112854; Mon, 8 Apr 2024 17:04:42 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="dO70qWml"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 77EAB1128BA for ; Mon, 8 Apr 2024 17:04:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595879; x=1744131879; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZaCTBd/1TL7KAoIcF9erYCmKy2gtKxxtl552hklsHXU=; b=dO70qWmlCqP6apF2NglRMQjsaMYOwzWJyoVaoshCOjBUXjau9f7hkyif /6WIS8e5jyEaM3VTfiG+yYwA4YnYOcpofcq0RnIV/pOPhbB3q6aMGWwTl URgfv+YGWzr20xdimKPUUQzR9MJR9s1967gQw5oGrSX4lnYuf7DQl5VpA KRO9PngaFG8BglAmQoqiZeOvzP8WYBqok5PaujMkFk3vVTgHAdsmbNWNv XAJQLCVg4tEDrZ3PA5lrvS/rnJUVTyLG/z1ky9/h6XU1IsjU1P3eJ1K6S xY0Oq+ZcYEbTKllvYNga6b5jd4eSE8k163V9psj2mVE5guVqQpbsgjV+O A==; X-CSE-ConnectionGUID: Of4mlWehQ1SJTLCv8TK/4Q== X-CSE-MsgGUID: d2NFMFyURDOPzwy/EJX4Kw== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793353" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793353" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:04:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792327" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792327" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:04:36 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:04:35 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Russell King Subject: [PATCH 03/21] drm/armada: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:08 +0300 Message-ID: <20240408170426.9285-4-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow armada to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Russell King Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/armada/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/Kconfig b/drivers/gpu/drm/armada/Kconfig index e5597d7c9ae1..043ca103ab3f 100644 --- a/drivers/gpu/drm/armada/Kconfig +++ b/drivers/gpu/drm/armada/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_ARMADA tristate "DRM support for Marvell Armada SoCs" - depends on DRM && HAVE_CLK && ARM && MMU + depends on DRM && HAVE_CLK && MMU && (ARM || COMPILE_TEST) select DRM_KMS_HELPER select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION help From patchwork Mon Apr 8 17:04:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621404 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 90605CD1292 for ; Mon, 8 Apr 2024 17:04:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 962A8112824; Mon, 8 Apr 2024 17:04:47 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="VLI+dTli"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id C2EB7112824 for ; Mon, 8 Apr 2024 17:04:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595882; x=1744131882; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cn9MfN19RLJ8ogB+euZHk15/Vu5OXvBvOlwH46mZQmU=; b=VLI+dTliWRZJe1MCxNZ3Wlt6QgTM9hC5MLazCqFxbDEwASfiDPdZieCD Nui30vexkW0vVtnDrc8Sqb0q1nyVfPGXsIXgEk2gBR+d+6YDMmNrHuimj Bv6QSZ6NMrtjQQEzonRYWCgHsdx0K559676Q5wHSffcpNr5MMcpzfixwO QEv8Y4vWsG0WSMWvBCzECkc0b1tpalnElGEHgt5BUE/+hAhwuDrMBAEf5 5x2S3p2rJZq3GRbkDblAWkmHBBpltQjkoOiD3e/Fsp+kRzckcwEKtpKdW Ysa+U8BxLBT8dPamSIoj4/1qQnUkrR6/vtxOvIaLsTSJl0v+eBf0SQl/j A==; X-CSE-ConnectionGUID: 5kr8u2peRpG/QOKerzX2iw== X-CSE-MsgGUID: rfdHNrKSRUG0a0URTd9wVA== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793358" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793358" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:04:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792328" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792328" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:04:39 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:04:38 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Laurentiu Palcu , Lucas Stach Subject: [PATCH 04/21] drm/imx/dcss: Fix 64bit divisions Date: Mon, 8 Apr 2024 20:04:09 +0300 Message-ID: <20240408170426.9285-5-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Use the appropriate 64bit division helpers to make the code build on 32bit architectures. Cc: Laurentiu Palcu Cc: Lucas Stach Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/imx/dcss/dcss-scaler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/imx/dcss/dcss-scaler.c b/drivers/gpu/drm/imx/dcss/dcss-scaler.c index 825728c356ff..32c3f46b21da 100644 --- a/drivers/gpu/drm/imx/dcss/dcss-scaler.c +++ b/drivers/gpu/drm/imx/dcss/dcss-scaler.c @@ -136,7 +136,7 @@ static int div_q(int A, int B) else temp -= B / 2; - result = (int)(temp / B); + result = div_s64(temp, B); return result; } @@ -239,7 +239,7 @@ static void dcss_scaler_gaussian_filter(int fc_q, bool use_5_taps, ll_temp = coef[phase][i]; ll_temp <<= PSC_COEFF_PRECISION; ll_temp += sum >> 1; - ll_temp /= sum; + ll_temp = div_s64(ll_temp, sum); coef[phase][i] = (int)ll_temp; } } From patchwork Mon Apr 8 17:04:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621406 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 AF463C67861 for ; Mon, 8 Apr 2024 17:05:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5F610112897; Mon, 8 Apr 2024 17:04:58 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Ckeyop7M"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0EC2B112824 for ; Mon, 8 Apr 2024 17:04:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595885; x=1744131885; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=B0wdy471L3tYInisOmGi+kXWczML1ad1MX/cN06o66Q=; b=Ckeyop7MVZ4sisuYNF+C3930fkClT/8VIVUFUN1yzYV5YzDf8WvRa7Th keHln986Sd7k3JiOEK9k30JggPfS/xsalJ6Nt9SHKnYWqa2SKnh1j5/ub b+WJDwm1DgC6pRMunFjqNv22yMjvS1vFDmXvh40j2dhWkM9nTFJLV8047 krLYx66FFjXHKyoCl+kb8Ge44Et/o5F9uN4eblS8Ko89GbMVrwCOImXUk yQbPbbqLKEp7ATwC7RybLfCiilndl3vLMabooOLmBEc4UrOl/GxEts76N VCI6kdaJxJTDaemsQIL1AIVNvA9c4YdDmisDGzwpfy3yVCLjN4r1UUfMx g==; X-CSE-ConnectionGUID: 8g4rUJNASjylvoVLxhh92w== X-CSE-MsgGUID: xOIEYCX5SkmswdR3DzKqzw== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793367" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793367" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:04:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792329" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792329" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:04:42 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:04:41 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Laurentiu Palcu , Lucas Stach Subject: [PATCH 05/21] drm/imx/dcss: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:10 +0300 Message-ID: <20240408170426.9285-6-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow imx/dcss to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Laurentiu Palcu Cc: Lucas Stach Signed-off-by: Ville Syrjälä dpiormw.cocci --- drivers/gpu/drm/imx/dcss/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/dcss/Kconfig b/drivers/gpu/drm/imx/dcss/Kconfig index 3ffc061d392b..502612747007 100644 --- a/drivers/gpu/drm/imx/dcss/Kconfig +++ b/drivers/gpu/drm/imx/dcss/Kconfig @@ -4,7 +4,7 @@ config DRM_IMX_DCSS select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER select VIDEOMODE_HELPERS - depends on DRM && ARCH_MXC && ARM64 + depends on DRM && ((ARCH_MXC && ARM64) || COMPILE_TEST) help Choose this if you have a NXP i.MX8MQ based system and want to use the Display Controller Subsystem. This option enables DCSS support. From patchwork Mon Apr 8 17:04:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621405 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 08334CD1292 for ; Mon, 8 Apr 2024 17:04:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9A8F9112876; Mon, 8 Apr 2024 17:04:57 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="JAoihO+g"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0CDDC112897 for ; Mon, 8 Apr 2024 17:04:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595888; x=1744131888; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3El5wWLBGTGhxnGovWk3CBa4Q4d7+OEgVRGblzp7LTk=; b=JAoihO+gztsEPQDQmTghKwH7BNZDnyQiQgcS5X24aQGBWt9rDHhyHkNP 4eX5tTU0A/mstcjpKnZUGfNTeFzFipYZ37eUb/gIjGR3MirTjwfBnoCzZ AWFsv/Eo9wnQUcoXwPcl015cry4S4S2WAIL0kR/F9F7E47avNjBz4t4zv ihUOQTx43pPL3I1wgfr0DfG26CrqswHZolDtfQtasfD8miOHcYFTLYxo2 tzPir6QQjf7JVi7GJcwyT4QMo+upEfqZ7udJIXh8dwfjauWITmnvqJnPg S1WM28J2uEBZHw5WRg9PRv75cXrNEPhehPgJxp0hQfOCv+cxgDQyv5WNM w==; X-CSE-ConnectionGUID: quT61l4zQkSS4WGQyNnBnQ== X-CSE-MsgGUID: n7nPkSUDT7ChwH47BFZjZg== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793374" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793374" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:04:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792330" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792330" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:04:45 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:04:45 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Alain Volmat Subject: [PATCH 06/21] drm/sti: Include linux/io.h for devm_ioremap() Date: Mon, 8 Apr 2024 20:04:11 +0300 Message-ID: <20240408170426.9285-7-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Include linux/io.h for devm_ioremap(). When built on x86_64 w/ COMPILE_TEST=y: ../drivers/gpu/drm/sti/sti_dvo.c:531:21: error: implicit declaration of function ‘devm_ioremap’ [-Werror=implicit-function-declaration] 531 | dvo->regs = devm_ioremap(dev, res->start, | ^~~~~~~~~~~~ ../drivers/gpu/drm/sti/sti_dvo.c:531:19: error: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 531 | dvo->regs = devm_ioremap(dev, res->start, | ^ Cc: Alain Volmat Signed-off-by: Ville Syrjälä Acked-by: Alain Volmat --- drivers/gpu/drm/sti/sti_dvo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sti/sti_dvo.c b/drivers/gpu/drm/sti/sti_dvo.c index fd1df4ce3852..48a5d49fc131 100644 --- a/drivers/gpu/drm/sti/sti_dvo.c +++ b/drivers/gpu/drm/sti/sti_dvo.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include From patchwork Mon Apr 8 17:04:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621407 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 68333CD1292 for ; Mon, 8 Apr 2024 17:05:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D6DDE1128A3; Mon, 8 Apr 2024 17:05:04 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="VYQa/C6T"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 05127112889 for ; Mon, 8 Apr 2024 17:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595891; x=1744131891; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qtgW6cDHbjXCZHnD3uUoe80KzOu9Z+I5e0ZtgR8x0KE=; b=VYQa/C6Ttgo+gqbOW2xPIoNUzcdZAbMzpJydUsGx1fUT8S4+MY43h5Y5 ggbsE6R8a2lxsCEwRS9Os3kKNMvx2oEscHMzznoczgkZDA9/EeRR8wgyl MRqYpzGpWGnhkYficGzC3Fh2xH1rZvcLBUPxuVwTspYt5tLrDPoAKnoUs 8twu0JXKAZZLL2K5X7NCsxQ+3EMZsbAWPdFq+LlXzhzxHy5USLk2MjNLm LpIXcMlLcUmqp6RUD+XdQxx5Nk+P7+AzDH+gCcKwcQ59iNz8O4YTHl3ot pZFOVgmFiMSZWWE279Lb9XddCVjJzjTZBvLHXQKbHwkXDH7KcmG/lHnEo A==; X-CSE-ConnectionGUID: /VkOzZbNSOWbAq1CS5bNAQ== X-CSE-MsgGUID: AaVhcYqbSIqiOcnQljuHOw== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793382" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793382" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:04:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792331" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792331" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:04:48 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:04:48 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Alain Volmat Subject: [PATCH 07/21] drm/sti: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:12 +0300 Message-ID: <20240408170426.9285-8-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow sti to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Alain Volmat Signed-off-by: Ville Syrjälä Acked-by: Alain Volmat --- drivers/gpu/drm/sti/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/Kconfig b/drivers/gpu/drm/sti/Kconfig index 3c7a5feff8de..75c301aadcbc 100644 --- a/drivers/gpu/drm/sti/Kconfig +++ b/drivers/gpu/drm/sti/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_STI tristate "DRM Support for STMicroelectronics SoC stiH4xx Series" - depends on OF && DRM && ARCH_STI + depends on OF && DRM && (ARCH_STI || COMPILE_TEST) select RESET_CONTROLLER select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER From patchwork Mon Apr 8 17:04:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621408 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 15C18C67861 for ; Mon, 8 Apr 2024 17:05:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 10EC81128A0; Mon, 8 Apr 2024 17:05:10 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="JAOR0d8P"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 34507112876 for ; Mon, 8 Apr 2024 17:04:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595896; x=1744131896; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TaYLEYhEVr2q/TPhG+Z5oGuaBRkrRlk3EKUJnJEvuaU=; b=JAOR0d8PXdm6/K/WbOWqPRJILmyNqcnHSMwIGG74w7siRGXh4bChUP3j 2wiisM3TOYCy+2s1QzjY50XxREB18lMTjBHKf+1OFuu/7llABON0fsG+r 5olsKax8VwcKuRSvXDN2RjANXEZerJ94g4XJm/eXQJEvjNh38TnvzG14r sYFrGFsXMLd+D7ll+b0mNGKHC1yRYg6FC+nfju6EBK3Sq3gtRqJOfQS6e +LhtOdNvybl1Uh+/MTTrsUvs3q85vDd80VL+xRPF2uv7nzT+l3/Hr/+L6 /j9O5hscffa+ebHiAsgttQcvx/XnqMxxh6Crh26DiaHmAroRzrr8oWcUt w==; X-CSE-ConnectionGUID: nDRnQa+ARMeRrbfB5/lYxw== X-CSE-MsgGUID: uAXuvfCKTx2a6atUwdMdtg== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793387" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793387" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:04:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792332" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792332" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:04:51 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:04:51 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Xinliang Liu , Tian Tao , Xinwei Kong , Sumit Semwal , Yongqin Liu , John Stultz Subject: [PATCH 08/21] drm/hisilicon/kirin: Include linux/io.h for readl()/writel() Date: Mon, 8 Apr 2024 20:04:13 +0300 Message-ID: <20240408170426.9285-9-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Include linux/io.h for readl()/writel(). When built on x86_64 w/ COMPILE_TEST=y: ../drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h:93:16: error: implicit declaration of function ‘readl’ [-Werror=implicit-function-declaration] 93 | orig = readl(addr); | ^~~~~ ../drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h:96:9: error: implicit declaration of function ‘writel’ [-Werror=implicit-function-declaration] 96 | writel(tmp, addr); | ^~~~~~ Cc: Xinliang Liu Cc: Tian Tao Cc: Xinwei Kong Cc: Sumit Semwal Cc: Yongqin Liu Cc: John Stultz Signed-off-by: Ville Syrjälä Acked-by: John Stultz --- drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h b/drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h index d79fc031e53d..a87d1135856f 100644 --- a/drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h +++ b/drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h @@ -7,6 +7,8 @@ #ifndef __DW_DSI_REG_H__ #define __DW_DSI_REG_H__ +#include + #define MASK(x) (BIT(x) - 1) /* From patchwork Mon Apr 8 17:04:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621409 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 7B1B5CD1292 for ; Mon, 8 Apr 2024 17:05:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 511091128A5; Mon, 8 Apr 2024 17:05:11 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="W8Fn0+e/"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8A8FD1128A0 for ; Mon, 8 Apr 2024 17:04:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595900; x=1744131900; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Q1tlsRqiakjCYTxdTuQM+nSROJkwpZ0EQYl2CuLR4Yc=; b=W8Fn0+e/LAU6L2u1V8s79bAFGewc/R3+JYYsZbT0NLAach3qGJHn7QGN MWqge9VmQl4A5onY+rYLykfHvjwXyRyPknbRDr43m7ft7vW/q20NC7m4r jvVVp8LEAR3u9yQdokEOR/mcGw714awZppqa8j3Eaez6zjK4ghrnxUbhK TJ8Lk2uh281jJT0MuFyFOMPJxFcKjnCNOS3qGSjdN4sN2Q2+ChKMIHndu HJJwwgSOvQCgsTdYn6c5mDxhm7Qu0owb2nzznKdU1XNTRuVx/zQp+NWI9 8dpcyine7U22tCDI/4xtEPakSD2awKoVgU1NyPAHOu/MsQn6yH/CHUv34 w==; X-CSE-ConnectionGUID: +caUdeuTRWqP2LXdQBnWvQ== X-CSE-MsgGUID: 99FWgwslQtOVylETenI4Tw== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793400" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793400" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792333" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792333" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:04:55 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:04:55 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Xinliang Liu , Tian Tao , Xinwei Kong , Sumit Semwal , Yongqin Liu , John Stultz Subject: [PATCH 09/21] drm/hisilicon/kirin: Fix 64bit divisions Date: Mon, 8 Apr 2024 20:04:14 +0300 Message-ID: <20240408170426.9285-10-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Use the appropriate 64bit division helpers to make the code build on 32bit architectures. Cc: Xinliang Liu Cc: Tian Tao Cc: Xinwei Kong Cc: Sumit Semwal Cc: Yongqin Liu Cc: John Stultz Signed-off-by: Ville Syrjälä Acked-by: John Stultz --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c b/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c index 566de4658719..a39cc549c20b 100644 --- a/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c +++ b/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c @@ -157,8 +157,8 @@ static u32 dsi_calc_phy_rate(u32 req_kHz, struct mipi_phy_params *phy) q_pll = 0x10 >> (7 - phy->hstx_ckg_sel); temp = f_kHz * (u64)q_pll * (u64)ref_clk_ps; - m_n_int = temp / (u64)1000000000; - m_n = (temp % (u64)1000000000) / (u64)100000000; + m_n_int = div64_u64_rem(temp, 1000000000, &temp); + m_n = div_u64(temp, 100000000); if (m_n_int % 2 == 0) { if (m_n * 6 >= 50) { @@ -229,9 +229,8 @@ static u32 dsi_calc_phy_rate(u32 req_kHz, struct mipi_phy_params *phy) phy->pll_fbd_div5f = 1; } - f_kHz = (u64)1000000000 * (u64)m_pll / - ((u64)ref_clk_ps * (u64)n_pll * (u64)q_pll); - + f_kHz = div64_u64((u64)1000000000 * (u64)m_pll, + (u64)ref_clk_ps * (u64)n_pll * (u64)q_pll); if (f_kHz >= req_kHz) break; @@ -490,7 +489,7 @@ static void dsi_set_mode_timing(void __iomem *base, hsa_time = (hsw * lane_byte_clk_kHz) / pixel_clk_kHz; hbp_time = (hbp * lane_byte_clk_kHz) / pixel_clk_kHz; tmp = (u64)htot * (u64)lane_byte_clk_kHz; - hline_time = DIV_ROUND_UP(tmp, pixel_clk_kHz); + hline_time = DIV_ROUND_UP_ULL(tmp, pixel_clk_kHz); /* all specified in byte-lane clocks */ writel(hsa_time, base + VID_HSA_TIME); From patchwork Mon Apr 8 17:04:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621412 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 2C5F5CD1296 for ; Mon, 8 Apr 2024 17:05:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DA39D1128B3; Mon, 8 Apr 2024 17:05:25 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="bNYKtuXI"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9C9C31128A5 for ; Mon, 8 Apr 2024 17:05:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595904; x=1744131904; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VAgdfXWwcB+swlxwYDi94m/VxBv6WCwjUX4pW/LsdUc=; b=bNYKtuXIAx3QUw3xwyAS72VW8AVg4c9saBKdyaJXHUi5drmfnGdNlay4 k859KXEGTDtaNadkfSuK+r4dDpTiVOrB1/QUSgjXOdvibhcRJVgnR/WWR MADVkz8BPmktSrDKJUxnRvxJng7FR0w4V6xpNdU098xmch47uoXx/N9+5 EcqW4sqvFoB51OtPXWCqLk23jsEgN+aKVCJRYw9OfBI3/7NvwOGEbdcNo Oyk2pKA8kNWuuONvUAV5/hLJhiNgpoBOreaSCHurW+CGAhiV4pMy694XA 28hh7Yfgwsbc8GT1YN/8gd3JItkDYKOHq3IFPB1xLBITcSKj/5Dc8mmxs A==; X-CSE-ConnectionGUID: 4szQ0zOZTRG0YEbHd9lJxA== X-CSE-MsgGUID: OkM2xQCdR62FzrD72IMi9w== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793417" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793417" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792334" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792334" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:00 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:04:59 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Xinliang Liu , Tian Tao , Xinwei Kong , Sumit Semwal , Yongqin Liu , John Stultz Subject: [PATCH 10/21] drm/hisilicon/kirin: Fix MASK(32) on 32bit architectures Date: Mon, 8 Apr 2024 20:04:15 +0300 Message-ID: <20240408170426.9285-11-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä BIT(32) is illegal when sizeof(long)==4. Use BIT_ULL(32) instead. Cc: Xinliang Liu Cc: Tian Tao Cc: Xinwei Kong Cc: Sumit Semwal Cc: Yongqin Liu Cc: John Stultz Signed-off-by: Ville Syrjälä Acked-by: John Stultz --- drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h b/drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h index be9e789c2d04..36f923cc7594 100644 --- a/drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h @@ -10,7 +10,7 @@ /* * ADE Registers */ -#define MASK(x) (BIT(x) - 1) +#define MASK(x) (BIT_ULL(x) - 1) #define ADE_CTRL 0x0004 #define FRM_END_START_OFST 0 From patchwork Mon Apr 8 17:04:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621410 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 61064CD1292 for ; Mon, 8 Apr 2024 17:05:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C4C81128A4; Mon, 8 Apr 2024 17:05:23 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Oy4+cdoB"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id AC8071128A0 for ; Mon, 8 Apr 2024 17:05:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595908; x=1744131908; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=33tG9mTNIWWrYtpbKkB4oRy2Z27N6J4EvNBTBZG4nHU=; b=Oy4+cdoBAuLfQ6uTkBRNYTVL7+whR9YJi8kn4xATnQ6qfrZe5VJxOd9b 9W6ndSyLt2h11Up9/QSflLczswuLL66YVm39o283Te3CrBKL+ZqejIOdZ 7C0cD7A15mAyvQLGCMUjvvYtFnNi3HrCxjPqwJ1iLyglirZDSXxDLACbJ /J4mQQuNVifZK5jyz9nJvpmdRrs0UGHZtmQvibwOAlUMK2RQW2XyyaoLY zubX0T7jQ/4fRIFXVyIBxjP7/vRRBOQss/SQuAMgAL/b53yt2yoqm0seq p7v+PwdS7IWvjOZiuGCT/HxdhyNNH2XrB2uDlOm25CBt+OchJ/quNBHdO w==; X-CSE-ConnectionGUID: C5/1mcN7Q8uBOXHuwENIwg== X-CSE-MsgGUID: vtFg+KB8SRuUMFLVyf6qog== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793426" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793426" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792335" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792335" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:04 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:03 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Xinliang Liu , Tian Tao , Xinwei Kong , Sumit Semwal , Yongqin Liu , John Stultz Subject: [PATCH 11/21] drm/hisilicon/kirin: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:16 +0300 Message-ID: <20240408170426.9285-12-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow kirin to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Xinliang Liu Cc: Tian Tao Cc: Xinwei Kong Cc: Sumit Semwal Cc: Yongqin Liu Cc: John Stultz Signed-off-by: Ville Syrjälä Acked-by: John Stultz --- drivers/gpu/drm/hisilicon/kirin/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/Kconfig b/drivers/gpu/drm/hisilicon/kirin/Kconfig index c5265675bf0c..0772f79567ef 100644 --- a/drivers/gpu/drm/hisilicon/kirin/Kconfig +++ b/drivers/gpu/drm/hisilicon/kirin/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_HISI_KIRIN tristate "DRM Support for Hisilicon Kirin series SoCs Platform" - depends on DRM && OF && ARM64 + depends on DRM && OF && (ARM64 || COMPILE_TEST) select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER select DRM_MIPI_DSI From patchwork Mon Apr 8 17:04:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621411 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 84FDCC67861 for ; Mon, 8 Apr 2024 17:05:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 85EF81128AE; Mon, 8 Apr 2024 17:05:24 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="QmhiOURh"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 035941128A4 for ; Mon, 8 Apr 2024 17:05:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595911; x=1744131911; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WHFfK4xSL/HSVXyVm19sFH2KcEs1u7xoCyKZ+IYsjVI=; b=QmhiOURhmUmvBFm437mFeceWLdHJz1kgmnyOZWaa0wu1u8U0abzjuwOF OPCvuYMKKZxzNQuCRbW+EcY9o9FvHPSihpNvL7tksTikvGUtpXA/IXOYu 0g1UzOKZGi1+WE45Tp0U6BYumOLj6YRITaZewV/7VSFMvCoONX0nbvDEW iVu3nDwqUZ4tX1m2FB8p8+bRGmAuvGnHTNMrl4WHUdXtZYJOSBeyCV5R0 ONfoV7wY60rFB3g6//cYUnkD3ui4X3eCvJIpvV0KIJ6kgFLi+/862Mfnf SYSdwj87wB9R1QnL+Z8DVyMxnXLwrJ/rqISRJzeCPDtbAnGrjwUVai6QD Q==; X-CSE-ConnectionGUID: CSq4TxwsSiK9S55EtjncqA== X-CSE-MsgGUID: wzRUCfbFRFuQ07xEhSggdw== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793438" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793438" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792336" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792336" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:08 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:07 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Jyri Sarha , Tomi Valkeinen Subject: [PATCH 12/21] drm/tilcdc: Allow build without __iowmb() Date: Mon, 8 Apr 2024 20:04:17 +0300 Message-ID: <20240408170426.9285-13-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä __iowmb() isn't available on most architectures. Make its use optional so that the driver can be built on other architectures with COMPILE_TEST=y. Cc: Jyri Sarha Cc: Tomi Valkeinen Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/tilcdc/tilcdc_regs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_regs.h b/drivers/gpu/drm/tilcdc/tilcdc_regs.h index f90e2dc3457c..44e4ada30fba 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_regs.h +++ b/drivers/gpu/drm/tilcdc/tilcdc_regs.h @@ -125,7 +125,9 @@ static inline void tilcdc_write64(struct drm_device *dev, u32 reg, u64 data) #if defined(iowrite64) && !defined(iowrite64_is_nonatomic) iowrite64(data, addr); #else +#ifdef __iowmb __iowmb(); +#endif /* This compiles to strd (=64-bit write) on ARM7 */ *(volatile u64 __force *)addr = __cpu_to_le64(data); #endif From patchwork Mon Apr 8 17:04:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621415 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 275C0CD1296 for ; Mon, 8 Apr 2024 17:05:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EC0351128B5; Mon, 8 Apr 2024 17:05:33 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="DQ3dEGnI"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5A4741128B5 for ; Mon, 8 Apr 2024 17:05:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595915; x=1744131915; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hl31EcpbgQXVBK+1wM15hGoj5HP2lntAGHjdnxONf8g=; b=DQ3dEGnI83Nqq45bcXeLxe75ITmZH3Y+4F4G1BXUclU97kIGSbsZKCOc dsVLkhm1FNzYdDAgD5GstiQQ53NURD8uli5o0NZs/uTLYGC5NE6qZIwwj DA/WLXaA6GDYmhsp1l6EFxME+SS0cpGnSBNYvf6qt77haamGUHb64pMOC IelPczY5XUBX4Becv6ZZg/czn+RbBDljS9djSDN56+RHlD2F/doqP/BOl ZvIbIJ9jjDy2jL4syKvWoqHula5QrzJwVYgD0f9YcFmECmDiF3ATFr5Qo XU4L5X/eoGUfpXYIrUjpsqn3cm9VGRTRTb8eQVbT/xtfzxg+/XhLVVUn2 Q==; X-CSE-ConnectionGUID: u0UV/5brSz+Zs80e1LxgRw== X-CSE-MsgGUID: JIVnAXtCRXaQY6TbU4FetA== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793450" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793450" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792337" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792337" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:11 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:11 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Jyri Sarha , Tomi Valkeinen Subject: [PATCH 13/21] drm/tilcdc: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:18 +0300 Message-ID: <20240408170426.9285-14-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow tilcdc to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Jyri Sarha Cc: Tomi Valkeinen Signed-off-by: Ville Syrjälä Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/tilcdc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/Kconfig b/drivers/gpu/drm/tilcdc/Kconfig index d3bd2d7a181e..1897ef91c70b 100644 --- a/drivers/gpu/drm/tilcdc/Kconfig +++ b/drivers/gpu/drm/tilcdc/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_TILCDC tristate "DRM Support for TI LCDC Display Controller" - depends on DRM && OF && ARM + depends on DRM && OF && (ARM || COMPILE_TEST) select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER select DRM_BRIDGE From patchwork Mon Apr 8 17:04:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621413 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 7848DC67861 for ; Mon, 8 Apr 2024 17:05:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5417C1128B6; Mon, 8 Apr 2024 17:05:27 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="HebWWAvR"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id A761B1128B8 for ; Mon, 8 Apr 2024 17:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595918; x=1744131918; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3eO7tL2W5m9dVGMWtrdKemYeriWz5mudC1tgpAq92F8=; b=HebWWAvRnIeApFiiyQZLzlzmApFhnyJmSWUgQehmemq0INpi4COdWe9N pREExBV31Kw7SWdrB1cyF/8R1DXKEMO2KVrjxx/VdLFPyU9EAyf6KEYvY 3+JetjSAaA9WEBsxUQcW489XvnFAKogHefum4yVSFS4KTeeK0bqyDjtN6 bRi3kIHuj8FLTB/TAjkKf6EvWQwRe1r3VLq9OmIiLgtzdaugCCZ97+9YY cvY4hKHf4aCYLgL4OShO6mOGxsGNsFXmnmYLnq6DQON6a+9BaWDX9KnAs lPHH+8E+UykGpd4YvjhzUC604StROFkGIfVnBHJVy6JIT6FQqz4F06jnX A==; X-CSE-ConnectionGUID: G8aZbhjxRWCoO64+W0CSQQ== X-CSE-MsgGUID: nfr4+QcQTXyzdk/W2p8y9g== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793455" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793455" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792338" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792338" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:14 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:14 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen Subject: [PATCH 14/21] drm/omap: Open code phys_to_page() Date: Mon, 8 Apr 2024 20:04:19 +0300 Message-ID: <20240408170426.9285-15-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä phys_to_page() is not available on most architectures. Just open code it like msm does. Allows COMPILE_TEST=y builds of omapdrm on other architectures. Cc: Tomi Valkeinen Signed-off-by: Ville Syrjälä Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_gem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_gem.c b/drivers/gpu/drm/omapdrm/omap_gem.c index 3421e8389222..c4454e7f1c94 100644 --- a/drivers/gpu/drm/omapdrm/omap_gem.c +++ b/drivers/gpu/drm/omapdrm/omap_gem.c @@ -1022,8 +1022,8 @@ struct sg_table *omap_gem_get_sg(struct drm_gem_object *obj, if (addr) { for_each_sg(sgt->sgl, sg, count, i) { - sg_set_page(sg, phys_to_page(addr), len, - offset_in_page(addr)); + sg_set_page(sg, pfn_to_page(__phys_to_pfn(addr)), + len, offset_in_page(addr)); sg_dma_address(sg) = addr; sg_dma_len(sg) = len; From patchwork Mon Apr 8 17:04:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621420 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 27FCCCD129C for ; Mon, 8 Apr 2024 17:05:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9C3521128CF; Mon, 8 Apr 2024 17:05:56 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="lt4hIO11"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id C43BE1128B9 for ; Mon, 8 Apr 2024 17:05:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595921; x=1744131921; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MY0laJsjyqeJs2HeuSyZpj98ddE6fBfmKNQLae4kaq8=; b=lt4hIO11WY0B0G56Q7VEgkS6VlKIhicsMEeOaknLE8Zfdm9liTRfZUSZ 6ljfgWOPOW9pucd6ox6LMKjcgHQESr7+DDjdBsnEk0miHdWBi8yDA9sdn PQVXLjbPyxwRajLikUiDlx4p8zngmsAj2IgN9djezmOHRGWpsg05TAJhj 8w7Hxqpc2JCmd3EXxpjK4b2dHBxq2xARMH/f7oV7SA5pcvZCSGVMYNPHd Uks89RO3yisDYl+tiut3RA6Pk1jq8qz5qJxk3pxZuz/sB52zakczprQb6 iEmferd/dGbbmTwtPEdNpDzG6Ec7gPVxaPxowMOjDZN0TIJPLqzWFcGQb A==; X-CSE-ConnectionGUID: DWdGTAnHROmhhDfuXob5tQ== X-CSE-MsgGUID: I8eXpb5TR6iygQhj/+ebag== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793462" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793462" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792339" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792339" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:18 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:17 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen Subject: [PATCH 15/21] drm/omap: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:20 +0300 Message-ID: <20240408170426.9285-16-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow omapdrm to be built with COMPILE_TEST=y for greater coverage. FIXME: Still borked due to ? Cc: Tomi Valkeinen Signed-off-by: Ville Syrjälä Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/Kconfig b/drivers/gpu/drm/omapdrm/Kconfig index 6c49270cb290..85ed92042b74 100644 --- a/drivers/gpu/drm/omapdrm/Kconfig +++ b/drivers/gpu/drm/omapdrm/Kconfig @@ -2,7 +2,7 @@ config DRM_OMAP tristate "OMAP DRM" depends on DRM && OF - depends on ARCH_OMAP2PLUS + depends on ARCH_OMAP2PLUS || COMPILE_TEST select DRM_KMS_HELPER select FB_DMAMEM_HELPERS_DEFERRED if DRM_FBDEV_EMULATION select VIDEOMODE_HELPERS From patchwork Mon Apr 8 17:04:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621414 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 01507CD1292 for ; Mon, 8 Apr 2024 17:05:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 92966112899; Mon, 8 Apr 2024 17:05:28 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="PSLo/Wpj"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id EFBF3112899 for ; Mon, 8 Apr 2024 17:05:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595924; x=1744131924; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=v5kUDx7DRa3ULMdMSLl3MsXU/Q9i2dllR2Au7YtYZpg=; b=PSLo/WpjNohmLNk4WaTPCQHuZanqUCgRV42llP/kFVP0/kdCaP6XBMKx whe5Ntrwzf5aUthzJ2sDvcIGDcr8in0Em9W6Z/jEWmlNLV0dO6oIqDA2Y 0LxnTSnmEtCK/2oGxhk1zMDd1n3cReUOT3DckioW6IpOoxKA58z+I1kEv B+jo9Y9BySInkY84QKsOVfv3HgMneyX3OQQtkFbMuxAGGxWfAX2tC1K9l dCGUUPQG5dGRfEtMvfS5UbvsWAO08F0pjLe7qkgr1NOT4DBjqnb2G/NYi PcDOPD1bFQKxJqFi2ymv1HxAFwIOds+OVQPe92u7MRqoVTi7pawNbt+vK A==; X-CSE-ConnectionGUID: PU8JGdRTT82iulmNGIDItw== X-CSE-MsgGUID: lakvl8OaQbGGj0ARYWTqUA== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793468" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793468" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792340" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792340" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:21 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:20 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Sam Ravnborg , Boris Brezillon Subject: [PATCH 16/21] drm/atmel-hlcdc: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:21 +0300 Message-ID: <20240408170426.9285-17-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow atmel-hlcdc to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Sam Ravnborg Cc: Boris Brezillon Signed-off-by: Ville Syrjälä Acked-by: Sam Ravnborg --- drivers/gpu/drm/atmel-hlcdc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/Kconfig b/drivers/gpu/drm/atmel-hlcdc/Kconfig index 3bdbab3a6333..945f3aa7bb24 100644 --- a/drivers/gpu/drm/atmel-hlcdc/Kconfig +++ b/drivers/gpu/drm/atmel-hlcdc/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_ATMEL_HLCDC tristate "DRM Support for ATMEL HLCDC Display Controller" - depends on DRM && OF && COMMON_CLK && MFD_ATMEL_HLCDC && ARM + depends on DRM && OF && COMMON_CLK && ((MFD_ATMEL_HLCDC && ARM) || COMPILE_TEST) select DRM_GEM_DMA_HELPER select DRM_KMS_HELPER select DRM_PANEL From patchwork Mon Apr 8 17:04:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621421 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 91B6ECD1292 for ; Mon, 8 Apr 2024 17:06:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6F9461128C5; Mon, 8 Apr 2024 17:06:00 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="BzOC2Zkm"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3B117112899 for ; Mon, 8 Apr 2024 17:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595928; x=1744131928; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dhiDihza+7uwNjOZ56tcAehORrjI4q86teVEuxNknUw=; b=BzOC2ZkmtPfOOGD4HiHBfKnObmRRcwd7s6QlT1BTUaOWokMr7FbKjQeh gD7btyOEb5m+dVayy9/5VcmEshAgHz2AtvJZWNEnMQLvGZiwIWd6kZ3Sa v6tI+GlHmCw+0Ou6CY3Rr8043ElKQ65E/HWH5hgZEqjN06H9GFYnDHTob T34xLtovYq0jfVh9YqUv8Wmg+HuEoha5tRza8M+PAxC8fFERZhche0+P7 EeG7CbI1BvC3qNam2de7iBIUvoUJT2fyJsrxo/h/TppALcHUb6z4UP+bK pWM0BZZQUVuRm2hBIfb1+45VifR2x1EAx10nc4NjOfhGJOYRR+W74Q6Sz Q==; X-CSE-ConnectionGUID: EGSm1aCCSLa0ZsRoDFVocQ== X-CSE-MsgGUID: tAT7vQzvT/+oq6MOX0VKjg== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793474" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793474" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792341" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792341" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:24 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:24 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Stefan Agner , Alison Wang Subject: [PATCH 17/21] drm/fsl-dcu: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:22 +0300 Message-ID: <20240408170426.9285-18-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow fsl-dcu to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Stefan Agner Cc: Alison Wang Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/fsl-dcu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/fsl-dcu/Kconfig b/drivers/gpu/drm/fsl-dcu/Kconfig index 5ca71ef87325..9c9954a5e9bc 100644 --- a/drivers/gpu/drm/fsl-dcu/Kconfig +++ b/drivers/gpu/drm/fsl-dcu/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_FSL_DCU tristate "DRM Support for Freescale DCU" - depends on DRM && OF && ARM && COMMON_CLK + depends on DRM && OF && (ARM || COMPILE_TEST) && COMMON_CLK select BACKLIGHT_CLASS_DEVICE select DRM_GEM_DMA_HELPER select DRM_KMS_HELPER From patchwork Mon Apr 8 17:04:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621416 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 5E0D2CD1292 for ; Mon, 8 Apr 2024 17:05:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EBC5F1128C0; Mon, 8 Apr 2024 17:05:34 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Xg8vQdJ/"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id C62171128C7 for ; Mon, 8 Apr 2024 17:05:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595931; x=1744131931; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=s41Sdv2GSjV1+VTAar/7MoJTxXLUIFIvIg2/MmK9lDo=; b=Xg8vQdJ/Ey9NuFXJQt9lTKL9V102mcY93w0JPccwZcO2/rQcPttVrvMz rD/Xny/jN5VeoVBwCWcIEIJfb6VXcrea96LRxySzrSkhQo56438tsuBqu tH5oiGlmGhpzzacHlb7/qldAcOU8Tsv2l4D4EyqmwhwujJnlMksX2LMHo wx3PtpqcBbP539Jlu5ClwO0wWsbO6YMoJJ2ORYc/Llebffht+KpovrLfG BbSbtjQfAlRoqEUbHOmVrt0Mi4PB/o9+YagMwLbuF2ArZYR57FpV8n3Jv aPXIahU5QAkfO0CieQqw2FI9CBOfGdJKP86jdE5bGoE7VQmWhaW1hcn7s g==; X-CSE-ConnectionGUID: YZLo78rSTQqS+kAB2HZa9Q== X-CSE-MsgGUID: icsnZVsiR8So9ZbErVOV8g== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793480" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793480" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792342" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792342" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:27 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:27 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Chun-Kuang Hu , Philipp Zabel , linux-mediatek@lists.infradead.org Subject: [PATCH 18/21] drm/mediatek: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:23 +0300 Message-ID: <20240408170426.9285-19-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow mediatek to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Chun-Kuang Hu Cc: Philipp Zabel Cc: linux-mediatek@lists.infradead.org Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/mediatek/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/Kconfig b/drivers/gpu/drm/mediatek/Kconfig index 6caab8d4d4e0..d770936e238b 100644 --- a/drivers/gpu/drm/mediatek/Kconfig +++ b/drivers/gpu/drm/mediatek/Kconfig @@ -2,9 +2,9 @@ config DRM_MEDIATEK tristate "DRM Support for Mediatek SoCs" depends on DRM - depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST) + depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST depends on COMMON_CLK - depends on HAVE_ARM_SMCCC + depends on HAVE_ARM_SMCCC || COMPILE_TEST depends on OF depends on MTK_MMSYS select DRM_KMS_HELPER From patchwork Mon Apr 8 17:04:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621417 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 D5483C67861 for ; Mon, 8 Apr 2024 17:05:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9DB9A1128BE; Mon, 8 Apr 2024 17:05:49 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Lz4rhdAw"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1B3991128BE for ; Mon, 8 Apr 2024 17:05:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595935; x=1744131935; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ep6l4tE6d/T5WqNMeZ7oCFUOTHiY9hJKRKAOBw+/Si0=; b=Lz4rhdAwokGgtqdJLYknsw4au3B0E8KP1rgedQ67m9TOAJSZ1FtJG5og TYXAT6OxzT/hKlc0pDhDbeAYG6iOLWEW2O1nF3iOsBw8GiFAhkJ9KO7JV U/zHtjLh5LpYrCz2u9F6Hpfn8LZBRlVfnk44DHaeQX4L3Mxs0bI+DjQnh ys3IxTYW4VNV7+d44W5sEt+eCFBLZ2dy19T1DxRid6v//d7ZbP1+lFAmC chis5A1IWnde5pGCsAjyrxtkvR6EoQwUvaWNgt+D7Yd37AWSxrq3ybzdY UCWWq6nXZNOWcSNGrjq08AlTI3dB0sc/yig31FVfYwCBRmjjf9f9mQ9zn g==; X-CSE-ConnectionGUID: ZBa1YQuTRUOJKRk2iRuA1w== X-CSE-MsgGUID: 6vxadc+jSwaSHPtoi7ZSDg== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793488" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793488" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792343" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792343" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:31 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:30 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Neil Armstrong , linux-amlogic@lists.infradead.org Subject: [PATCH 19/21] drm/meson: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:24 +0300 Message-ID: <20240408170426.9285-20-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow meson to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Neil Armstrong Cc: linux-amlogic@lists.infradead.org Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/meson/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/meson/Kconfig b/drivers/gpu/drm/meson/Kconfig index 5520b9e3f010..d8f67bd9c755 100644 --- a/drivers/gpu/drm/meson/Kconfig +++ b/drivers/gpu/drm/meson/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_MESON tristate "DRM Support for Amlogic Meson Display Controller" - depends on DRM && OF && (ARM || ARM64) + depends on DRM && OF && (ARM || ARM64 || COMPILE_TEST) depends on ARCH_MESON || COMPILE_TEST select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER From patchwork Mon Apr 8 17:04:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621419 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 87025CD1292 for ; Mon, 8 Apr 2024 17:05:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B551B1128CA; Mon, 8 Apr 2024 17:05:53 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Zzib/Yim"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9E65F1128C9 for ; Mon, 8 Apr 2024 17:05:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595938; x=1744131938; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sql7RDKm51AFP9ntm9DdUud0kmotL9WNJUNmNTOpp7U=; b=Zzib/YimjjdJYsif54ojxXSdRS7Abt+/IwSmdOtPZdSvtEmw4IHnkE7W dHxxQGlFH5taqJAr88DztZekp9uCzHVIe73nXR9l6HVqI9mHdOYOBo1br RMe5vuQrEZRdBlQ74ry2ZgPWQRaxe8JebUFNsdwOxlsAdkBdnr4AlO2Xb 4psoeO9fRzwM/ipDmPXEmiEVFDMYSZRC6X2IBQXp+TWifiDk5paIlWetg nzxdhhGTXIdqgcM6bfVYBLp3NMmoB08WkTPqdwh5eWA95+AClaQTM75Sm WTVEQUWRuPw80p2R/gB9LvTEKY3MCBEBOjyrb5OvQlq2kxEsEEufn+Dvp w==; X-CSE-ConnectionGUID: yphu24BWQKSwIKZvJcANLg== X-CSE-MsgGUID: OgvlBhMvR7+6byVlPr1/Tw== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793492" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793492" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792344" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792344" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:34 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:34 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Laurent Pinchart , Kieran Bingham , linux-renesas-soc@vger.kernel.org Subject: [PATCH 20/21] drm/rcar-du: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:25 +0300 Message-ID: <20240408170426.9285-21-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow rcar-du to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Laurent Pinchart Cc: Kieran Bingham Cc: linux-renesas-soc@vger.kernel.org Signed-off-by: Ville Syrjälä Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/renesas/rcar-du/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/renesas/rcar-du/Kconfig b/drivers/gpu/drm/renesas/rcar-du/Kconfig index 2dc739db2ba3..df8b08b1e537 100644 --- a/drivers/gpu/drm/renesas/rcar-du/Kconfig +++ b/drivers/gpu/drm/renesas/rcar-du/Kconfig @@ -2,7 +2,7 @@ config DRM_RCAR_DU tristate "DRM Support for R-Car Display Unit" depends on DRM && OF - depends on ARM || ARM64 + depends on ARM || ARM64 || COMPILE_TEST depends on ARCH_RENESAS || COMPILE_TEST select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER From patchwork Mon Apr 8 17:04:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13621418 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 63C0FC67861 for ; Mon, 8 Apr 2024 17:05:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B92ED1128BF; Mon, 8 Apr 2024 17:05:54 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="DclzYGWW"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1EFC61128C5 for ; Mon, 8 Apr 2024 17:05:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712595942; x=1744131942; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bWrP9hNoGlEOVGCbG6d0sqEs41yMIMc5h789oMATMLU=; b=DclzYGWWvG+4Kw2rjrAg1vtmbmjR8JmULRqQ0801qmulVwqc6qLHKIGo 7dnxU53Ui+zSwn0ej8i7CfoihhxqnBR2mmzUcS6raaCAIPeOcPxvwJS8s 8OLgZ+V9UTOvLYW69AyNSE1gM51+KZBSAjWkerVATOCfFnc5aVtR6nop4 HTFDwssAD3tMiURLu4bhLL9T00LH9qP6rHLvcxU7O+1AluJwoR79L1wh2 BL/Xshy+DKUonbJ/d15TvwBzpv5uXgTv1ehVRm7uGtlsSYzmue1gUNXqM A6PnsoiEEf4M+ttrhji+ou3IgdECOSM2ZjPWJ65CKJ6efwEmtwOFOuY97 Q==; X-CSE-ConnectionGUID: OpshFMVrRVKJFbmpYK7SEw== X-CSE-MsgGUID: 5eXVr3tYQzy9aUDdJFVeZg== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="7793498" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="7793498" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 10:05:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="827792345" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="827792345" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 08 Apr 2024 10:05:38 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 08 Apr 2024 20:05:37 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Cc: Yannick Fertre , Raphael Gallais-Pou , Philippe Cornu Subject: [PATCH 21/21] drm/stm: Allow build with COMPILE_TEST=y Date: Mon, 8 Apr 2024 20:04:26 +0300 Message-ID: <20240408170426.9285-22-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240408170426.9285-1-ville.syrjala@linux.intel.com> References: <20240408170426.9285-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Allow stm to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Yannick Fertre Cc: Raphael Gallais-Pou Cc: Philippe Cornu Signed-off-by: Ville Syrjälä Acked-by: Raphaël Gallais-Pou --- drivers/gpu/drm/stm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/stm/Kconfig b/drivers/gpu/drm/stm/Kconfig index fa49cde43bb2..4c906d602825 100644 --- a/drivers/gpu/drm/stm/Kconfig +++ b/drivers/gpu/drm/stm/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_STM tristate "DRM Support for STMicroelectronics SoC Series" - depends on DRM && ARCH_STM32 + depends on DRM && (ARCH_STM32 || COMPILE_TEST) select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER select DRM_PANEL_BRIDGE