From: "Christian König" <ckoenig.leichtzumerken@gmail.com> To: mcanal@igalia.com, stanislaw.gruszka@linux.intel.com, ogabbay@kernel.org, quic_jhugo@quicinc.com, daniel@ffwll.ch, jani.nikula@linux.intel.com, mwen@igalia.com, maxime@cerno.tech, wambui.karugax@gmail.com, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Subject: [PATCH 3/7] drm/debugfs: stop calling debugfs_init() for the render node Date: Thu, 16 Mar 2023 09:20:31 +0100 [thread overview] Message-ID: <20230316082035.567520-4-christian.koenig@amd.com> (raw) In-Reply-To: <20230316082035.567520-1-christian.koenig@amd.com> We want to remove per minor debugfs directories. Start by stopping drivers from adding anything inside of those. Signed-off-by: Christian König <christian.koenig@amd.com> --- drivers/gpu/drm/drm_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c index 4f643a490dc3..63bf8045944f 100644 --- a/drivers/gpu/drm/drm_debugfs.c +++ b/drivers/gpu/drm/drm_debugfs.c @@ -242,7 +242,7 @@ int drm_debugfs_init(struct drm_minor *minor, int minor_id, drm_client_debugfs_init(minor); } - if (dev->driver->debugfs_init) + if (dev->driver->debugfs_init && dev->render != minor) dev->driver->debugfs_init(minor); list_for_each_entry_safe(entry, tmp, &dev->debugfs_list, list) { -- 2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: "Christian König" <ckoenig.leichtzumerken@gmail.com> To: mcanal@igalia.com, stanislaw.gruszka@linux.intel.com, ogabbay@kernel.org, quic_jhugo@quicinc.com, daniel@ffwll.ch, jani.nikula@linux.intel.com, mwen@igalia.com, maxime@cerno.tech, wambui.karugax@gmail.com, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Subject: [Intel-gfx] [PATCH 3/7] drm/debugfs: stop calling debugfs_init() for the render node Date: Thu, 16 Mar 2023 09:20:31 +0100 [thread overview] Message-ID: <20230316082035.567520-4-christian.koenig@amd.com> (raw) In-Reply-To: <20230316082035.567520-1-christian.koenig@amd.com> We want to remove per minor debugfs directories. Start by stopping drivers from adding anything inside of those. Signed-off-by: Christian König <christian.koenig@amd.com> --- drivers/gpu/drm/drm_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c index 4f643a490dc3..63bf8045944f 100644 --- a/drivers/gpu/drm/drm_debugfs.c +++ b/drivers/gpu/drm/drm_debugfs.c @@ -242,7 +242,7 @@ int drm_debugfs_init(struct drm_minor *minor, int minor_id, drm_client_debugfs_init(minor); } - if (dev->driver->debugfs_init) + if (dev->driver->debugfs_init && dev->render != minor) dev->driver->debugfs_init(minor); list_for_each_entry_safe(entry, tmp, &dev->debugfs_list, list) { -- 2.34.1
next prev parent reply other threads:[~2023-03-16 8:21 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-16 8:20 DRM debugfs cleanup take 3 Christian König 2023-03-16 8:20 ` [Intel-gfx] " Christian König 2023-03-16 8:20 ` [PATCH 1/7] drm: remove drm_dev_set_unique Christian König 2023-03-16 8:20 ` [Intel-gfx] " Christian König 2023-03-16 14:15 ` Jeffrey Hugo 2023-03-16 14:15 ` [Intel-gfx] " Jeffrey Hugo 2023-03-16 8:20 ` [PATCH 2/7] drm/tegra: allow compile test on !ARM Christian König 2023-03-16 8:20 ` [Intel-gfx] " Christian König 2023-03-16 22:58 ` kernel test robot 2023-03-16 8:20 ` Christian König [this message] 2023-03-16 8:20 ` [Intel-gfx] [PATCH 3/7] drm/debugfs: stop calling debugfs_init() for the render node Christian König 2023-03-16 8:20 ` [PATCH 4/7] drm/debugfs: rework debugfs directory creation v2 Christian König 2023-03-16 8:20 ` [Intel-gfx] " Christian König 2023-03-16 22:27 ` kernel test robot 2023-03-22 11:17 ` Stanislaw Gruszka 2023-03-22 11:17 ` [Intel-gfx] " Stanislaw Gruszka 2023-03-16 8:20 ` [PATCH 5/7] drm/debugfs: remove dev->debugfs_list and debugfs_mutex v2 Christian König 2023-03-16 8:20 ` [Intel-gfx] " Christian König 2023-03-16 8:20 ` [Intel-gfx] [PATCH 6/7] drm/debugfs: rework drm_debugfs_create_files implementation Christian König 2023-03-16 8:20 ` Christian König 2023-03-16 8:20 ` [PATCH 7/7] drm/debugfs: remove debugfs_root pointer from minor Christian König 2023-03-16 8:20 ` [Intel-gfx] " Christian König 2023-03-16 11:24 ` kernel test robot 2023-03-16 11:24 ` [Intel-gfx] " kernel test robot 2023-03-16 8:25 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [1/7] drm: remove drm_dev_set_unique Patchwork 2023-03-22 11:58 ` Jani Nikula 2023-03-22 13:51 ` Christian König 2023-03-22 11:20 ` DRM debugfs cleanup take 3 Stanislaw Gruszka 2023-03-22 11:20 ` [Intel-gfx] " Stanislaw Gruszka
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230316082035.567520-4-christian.koenig@amd.com \ --to=ckoenig.leichtzumerken@gmail.com \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=intel-gfx@lists.freedesktop.org \ --cc=jani.nikula@linux.intel.com \ --cc=maxime@cerno.tech \ --cc=mcanal@igalia.com \ --cc=mwen@igalia.com \ --cc=ogabbay@kernel.org \ --cc=quic_jhugo@quicinc.com \ --cc=stanislaw.gruszka@linux.intel.com \ --cc=wambui.karugax@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.