From patchwork Wed Mar 1 11:02:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 13155835 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 DE54DC64ED6 for ; Wed, 1 Mar 2023 11:03:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9A1CD10E230; Wed, 1 Mar 2023 11:03:16 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 12C6810E22F; Wed, 1 Mar 2023 11:03: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=1677668594; x=1709204594; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=nB4CrVqPefTxfzqx4xQmBpzV/GLY5cJNmXZ4WJAkHJg=; b=Vo219gDj1j/kxMCY+5Vqw0ZfW9vQHU62pAQhkfz+agxvb6fafe0IznhL PCrRKb04Rr0wJPp5LgvAbJWGh9wO1WItFluQ/EzanFCA4yGvB/x6aBOZ+ /Yf5aZlNqDB0etIzNcrB7HSwb6qsjCzgfPgeUatBD8+E3vK7m/FnKoFBj qGLFyKlhl/VmCARV3Ymyldb1xvcCva531bCHljTJ6qrOu1sXz5/XGX8L8 pL3+O9N09Pnxo8/km6kdcKXsutIIKOuZFJGIzXzjpWX6cqIuApNVpyRGh lDCbApKCAt3cPqxKp+rrVBFj7W+amuryInBm7DTAoteVeCE4BjIi444UT w==; X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="361960098" X-IronPort-AV: E=Sophos;i="5.98,224,1673942400"; d="scan'208";a="361960098" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2023 03:03:10 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="1003630902" X-IronPort-AV: E=Sophos;i="5.98,224,1673942400"; d="scan'208";a="1003630902" Received: from unknown (HELO intel.com) ([10.252.57.78]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2023 03:03:08 -0800 From: Andi Shyti To: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH v2 0/2] Some debugfs refactoring and improvements Date: Wed, 1 Mar 2023 12:02:56 +0100 Message-Id: <20230301110258.2140955-1-andi.shyti@linux.intel.com> X-Mailer: git-send-email 2.39.1 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: Tvrtko Ursulin , Andi Shyti , Maciej Patelczyk , Andi Shyti , Michal Wajdeczko Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, These two patches aim to enhance the multi-GT capabilities of the debugfs. The first patch reorganizes the file structure, while the second patch extends the functionality of the original files in the upper directories to operate on all tiles with a single write, providing an or'ed value among them in the read case. Andi Changelog ========= v1 -> v2 - add patch 2 for multiplexing - improve commit log in patch 1. Andi Shyti (2): drm/i915/gt: Create per-tile debugfs files drm/i915/debugfs: Enable upper layer interfaces to act on all gt's drivers/gpu/drm/i915/gt/intel_gt_debugfs.c | 4 +- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 2 + drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 5 ++- drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.c | 2 + drivers/gpu/drm/i915/i915_debugfs.c | 38 +++++++++++++++++-- 5 files changed, 45 insertions(+), 6 deletions(-)