From patchwork Tue Jan 16 17:40:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 13520990 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 1AED8C47077 for ; Tue, 16 Jan 2024 17:42:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CEAF310E5D3; Tue, 16 Jan 2024 17:42:35 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id CEC7E10E0B8; Tue, 16 Jan 2024 17:42:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705426954; x=1736962954; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Pz/Y7/jWsWrZj6LdlT+g21XnA+qbuAbuQRrOLVHVsEc=; b=UwvZnfW3WdZbhVwgt4zGx6eTDVUDyWK0ynbimnbULJ3theNVC+251usY mdAlzVpbGzPYjkXdQaA9oHt07GUyReGKb8Tv7/APToMYSeVX1HNrHLnwv Ft0uQbdIyTL4ycI+rY1gAjQIy2iub72L3UiezaFj08TZySUKM2kElRwrC XuTZeuzy26sv3knoV5LxZRuzx2f/7ZxOJbPyZyE1GMfcNzyCLF3FZtm4s t1bqJMFavNCmgJXSUwbVU9K9YPRlp3R5XJbhCh1rNBH907rfN7J9KSLof BhTDoZ0M3YxFyebTf1TwmCoqdQP0gqyzYS2j6zX1Cd0LzTb0L4V6yYihE g==; X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="13288221" X-IronPort-AV: E=Sophos;i="6.05,199,1701158400"; d="scan'208";a="13288221" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 09:42:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="927555522" X-IronPort-AV: E=Sophos;i="6.05,199,1701158400"; d="scan'208";a="927555522" Received: from lucas-s2600cw.jf.intel.com ([10.165.21.196]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 09:42:30 -0800 From: Lucas De Marchi To: intel-xe@lists.freedesktop.org Subject: [PATCH v2 1/5] drm/xe: Use _ULL for u64 division Date: Tue, 16 Jan 2024 09:40:46 -0800 Message-Id: <20240116174050.2435923-2-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240116174050.2435923-1-lucas.demarchi@intel.com> References: <20240116174050.2435923-1-lucas.demarchi@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: , Cc: thomas.hellstrom@linux.intel.com, ogabbay@kernel.org, Lucas De Marchi , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Use DIV_ROUND_UP_ULL() so it also works on 32bit build. Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs") Signed-off-by: Lucas De Marchi Reviewed-by: Matt Roper --- drivers/gpu/drm/xe/xe_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c index a94c0b27f04e..5f5e3c7132d3 100644 --- a/drivers/gpu/drm/xe/xe_device.c +++ b/drivers/gpu/drm/xe/xe_device.c @@ -624,7 +624,7 @@ void xe_device_wmb(struct xe_device *xe) u32 xe_device_ccs_bytes(struct xe_device *xe, u64 size) { return xe_device_has_flat_ccs(xe) ? - DIV_ROUND_UP(size, NUM_BYTES_PER_CCS_BYTE(xe)) : 0; + DIV_ROUND_UP_ULL(size, NUM_BYTES_PER_CCS_BYTE(xe)) : 0; } bool xe_device_mem_access_ongoing(struct xe_device *xe) From patchwork Tue Jan 16 17:40:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 13520986 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 8EF19C47DA2 for ; Tue, 16 Jan 2024 17:42:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BFB9210E0B6; Tue, 16 Jan 2024 17:42:34 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id E08DD10E37C; Tue, 16 Jan 2024 17:42:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705426954; x=1736962954; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+BFNLqD+08tXQUMYOfU7xh9v72QOdYxbfICmSM4FVR8=; b=NT16B8PS8av3HoQU9ep7Tmt1O88YbbnrLcHrZ/k/bYdR1HTmgxHr2MyS 7pWP8wtFxmpUnwIGhGhVZWRCtTjpcnfzep48xLkkwBH+r3Y+Vq7RqUlYV XFngGNAPaArwbGlAAaDqRS7pqBCmVn4geC6wLt1WMO0XhMLkUY3HxHHt4 yiiZRLrjyFrR69jLu7Clf+IJHsz64AYfdHS8e+DjyL4g4SUTiTxVyII0J HSwy83I8EW2SHGXarPcV0Eq8eqc95QyyT1T7Ywf95rFqhs29+iJAFjzi/ SCd6yfo2CeQmtep20orkqrD3z7+GRPBOLjIg2L0CvDjzk7jRBB/OTfqVd g==; X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="13288225" X-IronPort-AV: E=Sophos;i="6.05,199,1701158400"; d="scan'208";a="13288225" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 09:42:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="927555526" X-IronPort-AV: E=Sophos;i="6.05,199,1701158400"; d="scan'208";a="927555526" Received: from lucas-s2600cw.jf.intel.com ([10.165.21.196]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 09:42:31 -0800 From: Lucas De Marchi To: intel-xe@lists.freedesktop.org Subject: [PATCH v2 2/5] drm/xe/mmio: Cast to u64 when printing Date: Tue, 16 Jan 2024 09:40:47 -0800 Message-Id: <20240116174050.2435923-3-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240116174050.2435923-1-lucas.demarchi@intel.com> References: <20240116174050.2435923-1-lucas.demarchi@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: , Cc: Matthew Brost , thomas.hellstrom@linux.intel.com, ogabbay@kernel.org, Lucas De Marchi , Oak Zeng , "Michael J . Ruhl" , dri-devel@lists.freedesktop.org, Rodrigo Vivi Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" resource_size_t uses %pa format in printk since the size varies depending on build options. However to keep the io_size/physical_size addition in the same call we can't pass the address without adding yet another variable in these function. Simply cast it to u64 and keep using %llx. Fixes: 286089ce6929 ("drm/xe: Improve vram info debug printing") Cc: Oak Zeng Cc: Michael J. Ruhl Cc: Matthew Brost Cc: Rodrigo Vivi Signed-off-by: Lucas De Marchi Reviewed-by: Matt Roper --- drivers/gpu/drm/xe/xe_mmio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_mmio.c b/drivers/gpu/drm/xe/xe_mmio.c index c8c5d74b6e90..5f6b53ea5528 100644 --- a/drivers/gpu/drm/xe/xe_mmio.c +++ b/drivers/gpu/drm/xe/xe_mmio.c @@ -272,8 +272,8 @@ int xe_mmio_probe_vram(struct xe_device *xe) drm_info(&xe->drm, "VRAM[%u, %u]: Actual physical size %pa, usable size exclude stolen %pa, CPU accessible size %pa\n", id, tile->id, &tile->mem.vram.actual_physical_size, &tile->mem.vram.usable_size, &tile->mem.vram.io_size); drm_info(&xe->drm, "VRAM[%u, %u]: DPA range: [%pa-%llx], io range: [%pa-%llx]\n", id, tile->id, - &tile->mem.vram.dpa_base, tile->mem.vram.dpa_base + tile->mem.vram.actual_physical_size, - &tile->mem.vram.io_start, tile->mem.vram.io_start + tile->mem.vram.io_size); + &tile->mem.vram.dpa_base, tile->mem.vram.dpa_base + (u64)tile->mem.vram.actual_physical_size, + &tile->mem.vram.io_start, tile->mem.vram.io_start + (u64)tile->mem.vram.io_size); /* calculate total size using tile size to get the correct HW sizing */ total_size += tile_size; From patchwork Tue Jan 16 17:40:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 13520991 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 A29E9C47DA2 for ; Tue, 16 Jan 2024 17:42:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4BAB110E324; Tue, 16 Jan 2024 17:42:43 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id F1EDC10E0B6; Tue, 16 Jan 2024 17:42:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705426954; x=1736962954; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=G6FwInhmVgslPiDEh7NzRcFZRdFlcS3bGJvtIQWy4Cc=; b=bH0FpdXJb9xQH4yr86tS/I3j5V+xvRhx4/LQnLQmtaI+dh3lewxDufRm kdoRm/c4+GOT2k4N8ErhkwJW7UmQLxq3fQ2Gqtds/7BYVkNNXVrBt5UqI PLEUWINuR2hoF4f0o/U4+DAbIScXtbM4WcUH1HkW2rNP4aq7HbyTkulsP LENIa4Bf8fRmZ8qGlhXXXRUtOCYFhWedQxkfQC8CxPURCqzpkE8GxqM+o zymS/M1vDd9cDdbIePuDacOWlFHR5PUsrm1XjCzci7qAodktK0w+URylW RJVfs9bPHa6aJVSCzvBvC8vRgnQDyp7FvGOd5OjNzA26IpuJ1nWLjYyeI w==; X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="13288227" X-IronPort-AV: E=Sophos;i="6.05,199,1701158400"; d="scan'208";a="13288227" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 09:42:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="927555530" X-IronPort-AV: E=Sophos;i="6.05,199,1701158400"; d="scan'208";a="927555530" Received: from lucas-s2600cw.jf.intel.com ([10.165.21.196]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 09:42:31 -0800 From: Lucas De Marchi To: intel-xe@lists.freedesktop.org Subject: [PATCH v2 3/5] drm/xe/display: Avoid calling readq() Date: Tue, 16 Jan 2024 09:40:48 -0800 Message-Id: <20240116174050.2435923-4-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240116174050.2435923-1-lucas.demarchi@intel.com> References: <20240116174050.2435923-1-lucas.demarchi@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: , Cc: thomas.hellstrom@linux.intel.com, ogabbay@kernel.org, Lucas De Marchi , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" readq() is not available in 32bits. iosys-map already has the logic in place to use read u64 in all cases, so simply add a helper variable for using that. Fixes: 44e694958b95 ("drm/xe/display: Implement display support") Signed-off-by: Lucas De Marchi --- .../gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h index 5f19550cc845..6739dadaf1a9 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h @@ -7,6 +7,7 @@ #define _I915_GEM_OBJECT_H_ #include +#include #include "xe_bo.h" @@ -36,6 +37,7 @@ static inline int i915_gem_object_read_from_page(struct xe_bo *bo, { struct ttm_bo_kmap_obj map; void *virtual; + struct iosys_map vaddr; bool is_iomem; int ret; @@ -52,10 +54,11 @@ static inline int i915_gem_object_read_from_page(struct xe_bo *bo, ofs &= ~PAGE_MASK; virtual = ttm_kmap_obj_virtual(&map, &is_iomem); if (is_iomem) - *ptr = readq((void __iomem *)(virtual + ofs)); + iosys_map_set_vaddr_iomem(&vaddr, (void __iomem *)(virtual)); else - *ptr = *(u64 *)(virtual + ofs); + iosys_map_set_vaddr(&vaddr, virtual); + *ptr = iosys_map_rd(&vaddr, ofs, u64); ttm_bo_kunmap(&map); out_unlock: xe_bo_unlock(bo); From patchwork Tue Jan 16 17:40:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 13520989 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 946D4C47077 for ; Tue, 16 Jan 2024 17:42:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6FEDF10E5D2; Tue, 16 Jan 2024 17:42:35 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D88F10E511; Tue, 16 Jan 2024 17:42: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=1705426954; x=1736962954; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8K/h1/j4SNbUYxEYWeTpA8KkHoZAgBmuZ8QW30qjzF4=; b=ARslKC73vY+mOjXaif4rO9ijR0SE52jY22m1kB/+iY0rDF70O8XqPMWl rW1lFS7pEjV1WqQCHkVPKF+iAOw01EGe66iVGFRCM2wP9hue/mYT/jcW4 9+Pd9o/Q3H2Jh2OG3u3Eqzdzyo7Sb5+xU9jpvaFjuvqbvfNef3PNRayTC O1DlePDXL3tRatQhLHOs6ax9sckkbbYnBmaaxy/S1KiUvofKbVZD4Zxxy Au7jnSX0EARr5FYQAUkLIUYYb/IOlSOZ+bXPwyK+YkGxyYBDYoSphckQA ILsUuvimS+0rxb62i5N8qJ01oHHNyppXRjVqaqNMBhSdZz6+/rGtU5Ee3 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="13288229" X-IronPort-AV: E=Sophos;i="6.05,199,1701158400"; d="scan'208";a="13288229" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 09:42:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="927555535" X-IronPort-AV: E=Sophos;i="6.05,199,1701158400"; d="scan'208";a="927555535" Received: from lucas-s2600cw.jf.intel.com ([10.165.21.196]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 09:42:31 -0800 From: Lucas De Marchi To: intel-xe@lists.freedesktop.org Subject: [PATCH v2 4/5] drm/xe: Fix cast on trace variable Date: Tue, 16 Jan 2024 09:40:49 -0800 Message-Id: <20240116174050.2435923-5-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240116174050.2435923-1-lucas.demarchi@intel.com> References: <20240116174050.2435923-1-lucas.demarchi@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: , Cc: Matthew Brost , thomas.hellstrom@linux.intel.com, ogabbay@kernel.org, Lucas De Marchi , dri-devel@lists.freedesktop.org, Rodrigo Vivi , Niranjana Vishwanathapura Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Cast the pointer to unsigned long and let it be implicitly extended to u64. This fixes the build on 32bits arch. Cc: Matthew Brost Cc: Niranjana Vishwanathapura Cc: Rodrigo Vivi Signed-off-by: Lucas De Marchi Reviewed-by: Matt Roper --- drivers/gpu/drm/xe/xe_trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/xe_trace.h b/drivers/gpu/drm/xe/xe_trace.h index 95163c303f3e..e4e7262191ad 100644 --- a/drivers/gpu/drm/xe/xe_trace.h +++ b/drivers/gpu/drm/xe/xe_trace.h @@ -31,7 +31,7 @@ DECLARE_EVENT_CLASS(xe_gt_tlb_invalidation_fence, ), TP_fast_assign( - __entry->fence = (u64)fence; + __entry->fence = (unsigned long)fence; __entry->seqno = fence->seqno; ), From patchwork Tue Jan 16 17:40:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 13520987 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 843F4C47077 for ; Tue, 16 Jan 2024 17:42:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C4A9E10E0B8; Tue, 16 Jan 2024 17:42:34 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0EB1210E546; Tue, 16 Jan 2024 17:42: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=1705426954; x=1736962954; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dZ/YDda0ow0P9dvQa1U3S3y/My71KsPZJoHpY5FyZJM=; b=CF2OgVhH3NBon/WRKRkDctXHpcM2vUoQXAyqM0Z8k7g+XJyqzufcZioz lrJj9W5Zq5sAI1R6FHhS6IrGYadOvpDg3FnTNUh4/H5eScRGJqBrCmpxA Pq05NjXVDGYcpIsImERvLS38Nmg2XN2dY5WClWfUB79AjmYOo0OEvutxe ITRzYtBhv2h8gmzsduY9sxSBZ1XUfWhBd8uqa56r7JkzQwGvCA59cIUrR psIG87rQeES0oTDmvMh6GUkbut7n8D5w8L/CxWG+zD5geJOcd3dtv18CQ Jw6e9yMacJC5ZegrSOgGvCt/fvTWikMONxSuH3Af6Eq/lPyRWN17jYNGG g==; X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="13288230" X-IronPort-AV: E=Sophos;i="6.05,199,1701158400"; d="scan'208";a="13288230" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 09:42:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="927555540" X-IronPort-AV: E=Sophos;i="6.05,199,1701158400"; d="scan'208";a="927555540" Received: from lucas-s2600cw.jf.intel.com ([10.165.21.196]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 09:42:31 -0800 From: Lucas De Marchi To: intel-xe@lists.freedesktop.org Subject: [PATCH v2 5/5] drm/xe: Enable 32bits build Date: Tue, 16 Jan 2024 09:40:50 -0800 Message-Id: <20240116174050.2435923-6-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240116174050.2435923-1-lucas.demarchi@intel.com> References: <20240116174050.2435923-1-lucas.demarchi@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: , Cc: thomas.hellstrom@linux.intel.com, ogabbay@kernel.org, Lucas De Marchi , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Now that all the issues with 32bits are fixed, enable it again. Signed-off-by: Lucas De Marchi Reviewed-by: Matt Roper --- drivers/gpu/drm/xe/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig index 1b57ae38210d..1b0ef91a5d2c 100644 --- a/drivers/gpu/drm/xe/Kconfig +++ b/drivers/gpu/drm/xe/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_XE tristate "Intel Xe Graphics" - depends on DRM && PCI && MMU && (m || (y && KUNIT=y)) && 64BIT + depends on DRM && PCI && MMU && (m || (y && KUNIT=y)) select INTERVAL_TREE # we need shmfs for the swappable backing store, and in particular # the shmem_readpage() which depends upon tmpfs