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 1C7DEC4332F for ; Thu, 9 Nov 2023 15:45:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C15610E8DB; Thu, 9 Nov 2023 15:45:16 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by gabe.freedesktop.org (Postfix) with ESMTPS id 64C1210E8DA for ; Thu, 9 Nov 2023 15:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699544712; x=1731080712; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=UlfnftMsRzLZO/WEZEV6Z9IqG7xxdxUDX6eX5HIlUsU=; b=HdG8PKHtLbIF/uZQwSXQLLpg119kgpeyf2FlgvMoVkRtsnzTQQA3Y5lo YG9eksYN6/IhNa57SiLdhUkq8M3TkBmW5EbZLyCzpb15jISO0yvwIVvfq KQJFrpQV0wislhydflEHRUoDhFTm2h6CwGYqGYqHaMN4R53Cxase9wDrW N+kh2nZWiMT02ylbqIJXADTtMkta27YIiKQiSMMWfO0KLZwjmPHpV7BJC kTSPUq4r0oO7UrHOyQJBtr7YZsM10NMVQSHuvYj0lWH5eqN8kWnjo+Zym 9A8b6yCbx5DvLw6Z9o9lTA2eExmIZObfKpRLHSBY6ahv+nCVghnlEPS9V w==; X-IronPort-AV: E=McAfee;i="6600,9927,10889"; a="11556598" X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="11556598" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 07:45:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10889"; a="936885960" X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="936885960" Received: from hschreib-mobl.ger.corp.intel.com (HELO ac699de916ef.intel.com) ([10.249.42.184]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 07:45:08 -0800 From: Francois Dugast To: intel-xe@lists.freedesktop.org Date: Thu, 9 Nov 2023 15:44:14 +0000 Message-Id: <20231109154457.7-1-francois.dugast@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Intel-xe] [PATCH v3 00/43] uAPI Alignment - take 2 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: , Cc: Francois Dugast Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" This is the second take of uAPI updates that would lead to breakage in the compatibility, which it is not acceptable after we are merged upstream. So, let's break it before it is too late, and start upstreaming a good, reliable and clean uapi. v2: Rebase, drop "RFC", more uAPI fixes and cleanup v3: - Rebase - Checkpatch - Apply fixups and squash - Do not remove num_params - Skip "[PATCH v2 01/50] fixup! drm/xe: Correlate engine and cpu timestamps with better accuracy" already merged by Lucas - Skip "[PATCH v2 40/50] drm/xe/uapi: Add link to Xe documentation" as location will change - Change "[PATCH v2 12/50] fixup! drm/xe: Correlate engine and cpu timestamps with better accuracy" to not be a fixup - Fix commit message of "[PATCH v2 24/50] xe/xe_bo: Reject bo creation of unaligned size" - Include already provided "Reviewed-by" Aravind Iddamsetty (1): drm/xe/pmu: Drop interrupt pmu event Francois Dugast (17): drm/xe/uapi: Add documentation for query drm/xe/uapi: Document DRM_XE_DEVICE_QUERY_HWCONFIG drm/xe: Extend uAPI to query HuC micro-controler firmware version drm/xe/uapi: Remove useless XE_QUERY_CONFIG_NUM_PARAM drm/xe/uapi: Add missing DRM_ prefix in uAPI constants drm/xe/uapi: Add _FLAG to uAPI constants usable for flags drm/xe/uapi: Make constant comments visible in kernel doc drm/xe/uapi: Change rsvd to pad in struct drm_xe_class_instance drm/xe/uapi: Remove unused inaccessible memory region drm/xe/uapi: Remove unused QUERY_CONFIG_MEM_REGION_COUNT drm/xe/uapi: Remove unused QUERY_CONFIG_GT_COUNT drm/xe/uapi: Replace BO with GEM in documentation drm/xe/uapi: Align on a common way to return arrays (memory regions) drm/xe/uapi: Align on a common way to return arrays (gt) drm/xe/uapi: Align on a common way to return arrays (engines) drm/xe/uapi: Add block diagram of a device drm/xe/uapi: Add examples of user space code José Roberto de Souza (2): drm/xe: Add uAPI to query micro-controler firmware version drm/xe: Make DRM_XE_DEVICE_QUERY_ENGINES future proof Mauro Carvalho Chehab (1): drm/xe/uapi: Reject bo creation of unaligned size Mika Kuoppala (1): drm/xe: Extend drm_xe_vm_bind_op Rodrigo Vivi (21): drm/xe/uapi: Remove GT_TYPE_REMOTE drm/xe/uapi: Kill VM_MADVISE IOCTL drm/xe/uapi: Separate bo_create placement from flags drm/xe/uapi: Rename *_mem_regions masks drm/xe/uapi: Rename query's mem_usage to mem_regions drm/xe/uapi: Fix indentation issues that sometimes causes build warning drm/xe/uapi: Order sections drm/xe/uapi: More uAPI documentation additions and cosmetic updates drm/xe/uapi: Split xe_sync types from flags drm/xe/uapi: Standardize the FLAG naming and assignment drm/xe/uapi: Differentiate WAIT_OP from WAIT_MASK drm/xe/uapi: Move xe_exec after xe_exec_queue drm/xe/uapi: Move memory_region masks from GT to engine drm/xe/uapi: Document the memory_region bitmask drm/xe/uapi: Be more specific about the vm_bind prefetch region drm/xe/uapi: Convert tile_mask to a pt_placement_hint drm/xe/uapi: Exec queue documentation and variable renaming drm/xe/uapi: Refactor engine information drm/xe/uapi: Crystal Reference Clock updates drm/xe/uapi: Add Tile ID information to the GT info query drm/xe/uapi: Remove bogus engine list from the wait_user_fence IOCTL drivers/gpu/drm/xe/Makefile | 1 - drivers/gpu/drm/xe/tests/xe_dma_buf.c | 8 +- drivers/gpu/drm/xe/xe_bo.c | 51 +- drivers/gpu/drm/xe/xe_bo_types.h | 3 + drivers/gpu/drm/xe/xe_devcoredump.c | 8 +- drivers/gpu/drm/xe/xe_device.c | 8 +- drivers/gpu/drm/xe/xe_exec.c | 4 +- drivers/gpu/drm/xe/xe_exec_queue.c | 86 +- drivers/gpu/drm/xe/xe_exec_queue.h | 4 +- drivers/gpu/drm/xe/xe_exec_queue_types.h | 4 +- drivers/gpu/drm/xe/xe_gt.c | 2 +- drivers/gpu/drm/xe/xe_gt_clock.c | 4 +- drivers/gpu/drm/xe/xe_gt_types.h | 4 +- drivers/gpu/drm/xe/xe_guc_submit.c | 32 +- drivers/gpu/drm/xe/xe_irq.c | 18 - drivers/gpu/drm/xe/xe_pmu.c | 25 +- drivers/gpu/drm/xe/xe_pmu_types.h | 8 - drivers/gpu/drm/xe/xe_query.c | 220 ++-- drivers/gpu/drm/xe/xe_ring_ops.c | 8 +- drivers/gpu/drm/xe/xe_sched_job.c | 10 +- drivers/gpu/drm/xe/xe_sync.c | 27 +- drivers/gpu/drm/xe/xe_sync_types.h | 1 + drivers/gpu/drm/xe/xe_trace.h | 8 +- drivers/gpu/drm/xe/xe_vm.c | 115 +- drivers/gpu/drm/xe/xe_vm_doc.h | 14 +- drivers/gpu/drm/xe/xe_vm_madvise.c | 299 ----- drivers/gpu/drm/xe/xe_vm_madvise.h | 15 - drivers/gpu/drm/xe/xe_wait_user_fence.c | 74 +- include/uapi/drm/xe_drm.h | 1334 ++++++++++++++-------- 29 files changed, 1250 insertions(+), 1145 deletions(-) delete mode 100644 drivers/gpu/drm/xe/xe_vm_madvise.c delete mode 100644 drivers/gpu/drm/xe/xe_vm_madvise.h -- 2.34.1