From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 E528AC47077 for ; Tue, 16 Jan 2024 19:50:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9B42F10E549; Tue, 16 Jan 2024 19:50:22 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6FE0C10E549 for ; Tue, 16 Jan 2024 19:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705434621; x=1736970621; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=j+NrnR9AK79uhyv80VQZXc0pEzX1R3A/ywsDD4XT9PE=; b=a6m4jf5lMwD9Z7FbZuO1SH8iCAn6JYrLPTt7E3XYvMXSavoCCeNv/10F eOz7OxTbW1B5IRtFoZYQitmCa0rHtwrqYm4DpFIWWO2bCmNUO6sLgaxSY FxhFjo9LBmCaW0mTKfiqNdBcPIm0G8U5jwerxd9iYU9rGuunrciybyy3w QHuhRlkSOz9nKTu+ncAofQOCjQYDBMykWUtRURItV8bgEXA9EkDGW8+MN cYTl7LrmU4yMB07Hd/W9w8m9JAqNQkkPYSAPTs0KKPuCPUp6nNRrDY1am 7ULiX1F9ZlUN+UNjSRrudgYNApZMw3xZinppPHgN5Af5IIrYhs8Tfj/wb g==; X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="403718297" X-IronPort-AV: E=Sophos;i="6.05,200,1701158400"; d="scan'208";a="403718297" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 11:50:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10955"; a="760298411" X-IronPort-AV: E=Sophos;i="6.05,200,1701158400"; d="scan'208";a="760298411" Received: from fyang16-desk.jf.intel.com ([10.24.96.243]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 11:50:19 -0800 From: fei.yang@intel.com To: intel-xe@lists.freedesktop.org Subject: [PATCH 0/1] drm/xe: correct the calculation of remaining size Date: Tue, 16 Jan 2024 11:52:50 -0800 Message-Id: <20240116195251.651321-1-fei.yang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" From: Fei Yang Fix a bug in function write_pgtable where, in case the number of PTEs is more than the maximum of one MI_STORE_DATA_IMM can take, the caclulation of remaining size is wrong. Also update the dword length calculation for MI_STORE_DATA_IMM according to specification. Cc: Matthew Brost Signed-off-by: Fei Yang Fei Yang (1): drm/xe: correct the calculation of remaining size drivers/gpu/drm/xe/instructions/xe_mi_commands.h | 2 +- drivers/gpu/drm/xe/xe_migrate.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.25.1