From patchwork Tue Apr 7 21:45:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 11479039 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 34E0492C for ; Tue, 7 Apr 2020 22:04:37 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1DBA42074F for ; Tue, 7 Apr 2020 22:04:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1DBA42074F Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=etezian.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A31716E915; Tue, 7 Apr 2020 22:04:36 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from 19.mo7.mail-out.ovh.net (19.mo7.mail-out.ovh.net [178.33.251.118]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1CFD96E91A for ; Tue, 7 Apr 2020 22:04:35 +0000 (UTC) Received: from player755.ha.ovh.net (unknown [10.110.115.223]) by mo7.mail-out.ovh.net (Postfix) with ESMTP id B01B415D882 for ; Tue, 7 Apr 2020 23:45:17 +0200 (CEST) Received: from etezian.org (213-243-141-64.bb.dnainternet.fi [213.243.141.64]) (Authenticated sender: andi@etezian.org) by player755.ha.ovh.net (Postfix) with ESMTPSA id 2D36F1149CFC2; Tue, 7 Apr 2020 21:45:10 +0000 (UTC) From: Andi Shyti To: Intel GFX Date: Wed, 8 Apr 2020 00:45:00 +0300 Message-Id: <20200407214502.217567-1-andi@etezian.org> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 17612733718370697821 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrudeigddtudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomheptehnughiucfuhhihthhiuceorghnughisegvthgviihirghnrdhorhhgqeenucfkpheptddrtddrtddrtddpvddufedrvdegfedrudeguddrieegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrjeehhedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegrnhguihesvghtvgiiihgrnhdrohhrghdprhgtphhtthhopehinhhtvghlqdhgfhigsehlihhsthhsrdhfrhgvvgguvghskhhtohhprdhorhhg Subject: [Intel-gfx] [PATCH v7 0/2] debugfs cleanup and gt depenencies. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lucas De Marchi , Chris Wilson Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" From: Andi Shyti Hi, In this 7th version I removed in a separate patch the sseu interface which is broken and therefore useless. Thanks Tvrtko and Chris for the review, Andi Changelog ========= v7: - add a preliminary patch that removes completely the i915_sseu_status interface. v6: - i915_forcewake_user left intact in in the top level directory - improved commit log v5: - renamed from debugfs_gt_sseu.[ch] to debugfs_sseu.[ch] - moved i915_rcs_topology from i915_debugfs.c to gt/debugfs_sseu.c - added Tvrtko's and Chris r-b. v4: - interrupt and sseu debugfs interface are moved to their own "debugfs_gt_irq" and "debugfs_gt_sseu" files - reset functions are renamed to reset_show/store v3: - better arrangement of what should stay in i915_debugfs and what needs to be moved under gt/ - more use of the local "uncore" and "i915" variables to improve readability v2: - dropped changes on "drop_caches", they were indeed irrelevant - improved interrupt info function Andi Shyti (2): drm/i915: remove broken i915_sseu_status interface drm/i915/gt: move remaining debugfs interfaces into gt drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/debugfs_gt.c | 48 +++- drivers/gpu/drm/i915/gt/debugfs_gt_irq.c | 162 +++++++++++ drivers/gpu/drm/i915/gt/debugfs_gt_irq.h | 15 + drivers/gpu/drm/i915/gt/debugfs_gt_pm.c | 32 +++ drivers/gpu/drm/i915/i915_debugfs.c | 339 +---------------------- 6 files changed, 258 insertions(+), 339 deletions(-) create mode 100644 drivers/gpu/drm/i915/gt/debugfs_gt_irq.c create mode 100644 drivers/gpu/drm/i915/gt/debugfs_gt_irq.h