drm/msm/dpu: drop plane's default_scaling debugfs file
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 1 Dec 2021 22:26:29 +0000 (01:26 +0300)
committerRob Clark <robdclark@chromium.org>
Wed, 15 Dec 2021 23:28:40 +0000 (15:28 -0800)
Proper support for the 'default_scaling' debugfs file was removed during
DPU driver pre-merge cleanup. Remove leftover file.

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-5-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_plane.c

index 2ff17de..94e369e 100644 (file)
@@ -114,7 +114,6 @@ struct dpu_plane {
        struct dpu_debugfs_regset32 debugfs_src;
        struct dpu_debugfs_regset32 debugfs_scaler;
        struct dpu_debugfs_regset32 debugfs_csc;
-       bool debugfs_default_scale;
 };
 
 static const uint64_t supported_format_modifiers[] = {
@@ -1390,10 +1389,6 @@ static int _dpu_plane_init_debugfs(struct drm_plane *plane)
                dpu_debugfs_create_regset32("scaler_blk", 0400,
                                pdpu->debugfs_root,
                                &pdpu->debugfs_scaler);
-               debugfs_create_bool("default_scaling",
-                               0600,
-                               pdpu->debugfs_root,
-                               &pdpu->debugfs_default_scale);
        }
 
        if (cfg->features & BIT(DPU_SSPP_CSC) ||