drm/msm/dpu: merge two CRTC debugfs dirs
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 12 Jan 2023 05:36:59 +0000 (07:36 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 18 Jan 2023 01:34:45 +0000 (03:34 +0200)
commitf377ea2c3c3a8a979c1961e7449715a58d4eb3ae
treeb50483b20392f787c6dc4d73484fb34f08e70ec0
parentabc40122d9a69f56c04efb5a7485795f5ac799d1
drm/msm/dpu: merge two CRTC debugfs dirs

For each CRTC we are creating two different debugfs directories one
using crtc index (created automatically for the CRC files) and another
one using CRTC name/object ID (for state and status files).

This can be confusing, so move our custom files to crtc->debugfs_entry,
effetively merging two debugfs dirs.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Tested-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/518065/
Link: https://lore.kernel.org/r/20230112053659.1361298-1-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c