Support for debugfs directory for each client-id in /dri directory
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 5 repliesIn review
- v11 patch 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/debugfs: add client-id to the debugfs entrydrivers/ | +5 | 0 replies | |
| 2/2 | drm: add debugfs support on per client-id basisdrivers/ drivers/ include/ +1 more | +38 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] Support for debugfs directory for each client-id in /dri directory
Add support of debugfs for client-id so information specific to each client could be added by corresponding driver such as page table and queues associted etc.
For amdgpu below is the information and data stucture added:
----------------------------------------------------------------------------------------------------------------------------------
root@amd-X570-AORUS-ELITE:/sys/kernel/debug/dri# cat 128/clients
command tgid dev master a uid magic name client-id
systemd-logind 1049 0 y y 0 0 <unset> 5
Xwayland 1706 128 n n 120 0 <unset> 8
mutter-x11-fram 2019 128 n n 120 0 <unset> 9
ibus-x11 2046 128 n n 120 0 <unset> 10
root@amd-X570-AORUS-ELITE:/sys/kernel/debug/dri# cat client-5/
0/ pt_base_info
root@amd-X570-AORUS-ELITE:/sys/kernel/debug/dri# cat client-5/pt_base_info
pid: 1049
comm: systemd-logind
pt_base: 0x81febe9000
root@amd-X570-AORUS-ELITE:/sys/kernel/debug/dri# cat client-8/pt_base_info
pid: 1706
comm: Xwayland
pt_base: 0x81febdc000
-------------------------------------------------------------------------------------------------------------------------------------Sunil Khatri (2):
drm/debugfs: add client-id to the debugfs entry
drm: add debugfs support on per client-id basis
drivers/gpu/drm/drm_debugfs.c | 10 ++++++---- drivers/gpu/drm/drm_file.c | 26 ++++++++++++++++++++++++++ include/drm/drm_device.h | 4 ++++ include/drm/drm_file.h | 7 +++++++ 4 files changed, 43 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1