mirror_ubuntu-kernels/drivers/gpu/drm/msm
Bjorn Andersson 3d18c34d84 drm/msm/dp: Move debugfs files into subdirectory
In the cleanup path of the MSM DP driver the DP driver's debugfs files
are destroyed by invoking debugfs_remove_recursive() on debug->root,
which during initialization has been set to minor->debugfs_root.

To allow cleaning up the DP driver's debugfs files either each dentry
needs to be kept track of or the files needs to be put in a subdirectory
which can be removed in one go.

By choosing to put the debugfs files in a subdirectory, based on the
name of the associated connector this also solves the problem that these
names would collide as support for multiple DP instances are introduced.

One alternative solution to the problem with colliding file names would
have been to put keep track of the individual files and put them under
the connector's debugfs directory. But while the drm_connector has been
allocated, its associated debugfs directory has not been created at the
time of initialization of the dp_debug.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Link: https://lore.kernel.org/r/20211015231702.1784254-1-bjorn.andersson@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-02-18 18:32:57 +03:00
..
adreno drm/msm/gpu: Wait for idle before suspending 2022-01-25 08:54:41 -08:00
disp drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc 2022-01-25 05:45:39 +03:00
dp drm/msm/dp: Move debugfs files into subdirectory 2022-02-18 18:32:57 +03:00
dsi drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable 2022-01-25 05:48:13 +03:00
hdmi drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy 2022-01-25 05:44:54 +03:00
Kconfig drm/msm/dp: displayPort driver need algorithm rational 2021-12-07 14:47:11 -08:00
Makefile drm/msm/hdmi: switch to drm_bridge_connector 2021-12-07 14:47:11 -08:00
msm_atomic_trace.h
msm_atomic_tracepoints.c
msm_atomic.c drm/msm: Add hrtimer + kthread_work helper 2021-10-15 16:35:39 -07:00
msm_debugfs.c drm/msm/debugfs: Add display/kms state snapshot 2021-12-16 09:51:24 -08:00
msm_debugfs.h
msm_drv.c drm/msm: Fix wrong size calculation 2022-01-25 05:45:59 +03:00
msm_drv.h drm/msm/dp: employ bridge mechanism for display enable and disable 2021-12-07 15:23:24 -08:00
msm_fb.c drm/msm: Move FB debug prints to drm_dbg_state() 2021-06-23 07:32:15 -07:00
msm_fbdev.c drm/msm: Remove unnecessary struct_mutex 2021-11-28 09:50:33 -08:00
msm_fence.c drm/msm: Track "seqno" fences by idr 2021-07-27 18:09:18 -07:00
msm_fence.h drm/msm: Handle fence rollover 2021-11-28 09:56:47 -08:00
msm_gem_prime.c drm/msm: Implement mmap as GEM object function 2021-08-07 11:48:37 -07:00
msm_gem_shrinker.c treewide: Add missing includes masked by cgroup -> bpf dependency 2021-12-03 10:58:13 -08:00
msm_gem_submit.c drm/msm/gpu: Don't allow zero fence_id 2021-12-07 14:34:18 -08:00
msm_gem_vma.c
msm_gem.c Linux 5.16-rc5 2021-12-14 10:24:28 +01:00
msm_gem.h Merge drm/drm-next into drm-misc-next 2021-09-14 09:25:30 +02:00
msm_gpu_devfreq.c drm/msm/gpu: Cancel idle/boost work on suspend 2022-01-25 08:54:41 -08:00
msm_gpu_trace.h drm/msm: Support evicting GEM objects to swap 2021-04-07 11:05:48 -07:00
msm_gpu_tracepoints.c
msm_gpu.c drm/msm/gpu: Wait for idle before suspending 2022-01-25 08:54:41 -08:00
msm_gpu.h drm/msm/gpu: Wait for idle before suspending 2022-01-25 08:54:41 -08:00
msm_gpummu.c drm/msm: devcoredump iommu fault support 2021-06-23 07:33:55 -07:00
msm_iommu.c drm/msm: Fix display fault handling 2021-07-27 08:14:55 -07:00
msm_kms.h drm/msm: Initialize MDSS irq domain at probe time 2021-12-06 09:22:51 -08:00
msm_mmu.h drm/msm: devcoredump iommu fault support 2021-06-23 07:33:55 -07:00
msm_perf.c drm/msm: Remove struct_mutex usage 2021-11-28 09:50:33 -08:00
msm_rd.c drm/msm: Remove struct_mutex usage 2021-11-28 09:50:33 -08:00
msm_ringbuffer.c drm/msm: Remove struct_mutex usage 2021-11-28 09:50:33 -08:00
msm_ringbuffer.h drm/msm: Conversion to drm scheduler 2021-07-28 09:19:00 -07:00
msm_submitqueue.c drm/msm: unlock on error in get_sched_entity() 2021-10-15 16:52:32 -07:00
NOTES