[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1673375066.git.drv@mailo.com>
Date: Tue, 10 Jan 2023 23:59:12 +0530
From: Deepak R Varma <drv@...lo.com>
To: Zhenyu Wang <zhenyuw@...ux.intel.com>,
Zhi Wang <zhi.a.wang@...el.com>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
Tvrtko Ursulin <tvrtko.ursulin@...ux.intel.com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
intel-gvt-dev@...ts.freedesktop.org,
intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Cc: Saurabh Singh Sengar <ssengar@...rosoft.com>,
Praveen Kumar <kumarpraveen@...ux.microsoft.com>
Subject: [PATCH 0/2] drm/i915/gvt: Avoid full proxy f_ops debug attributes
This patch series proposes to replace a combination of DEFINE_SIMPLE_ATTRIBUTE() +
debugfs_create_file() by a combination of DEFINE_DEBUGFS_ATTRIBUTE() +
debugfs_create_file_unsafe(). The change reduced overhead in terms of managing
the full proxy f_ops at runtime. The patches 1 & 2 covers for the scan_nonprivbb
and vgpu_status f_ops debugfs attributes respectively.
Following coccicheck make command helped identify this change:
make coccicheck M=drivers/gpu/drm/i915/ MODE=patch COCCI=./scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci
Deepak R Varma (2):
drm/i915/gvt: Avoid full proxy f_ops for scan_nonprivbb debug
attributes
drm/i915/gvt: Avoid full proxy f_ops for vgpu_status debug attributes
drivers/gpu/drm/i915/gvt/debugfs.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
--
2.34.1
Powered by blists - more mailing lists