drm/msm/dpu: move disable_danger out of plane subdir
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 1 Dec 2021 22:26:26 +0000 (01:26 +0300)
committerRob Clark <robdclark@chromium.org>
Wed, 15 Dec 2021 23:28:40 +0000 (15:28 -0800)
commit96536242f1ee17fcd64e415234ee185d2bfe9b8c
tree0c881179f362f16182b6e086661fd43447ec86fc
parent08c4aa3ee26445ae0d027c1e1944e1202687b024
drm/msm/dpu: move disable_danger out of plane subdir

The disable_danger debugfs file is not related to a single plane.
Instead it is used by all registered planes. Move it from plane subtree
to the global subtree next to danger_status and safe_status files,
so that the new file supplements them.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Link: https://lore.kernel.org/r/20211201222633.2476780-2-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h