disp/dpu1/dpu_encoder_phys_cmd.o \
        disp/dpu1/dpu_encoder_phys_vid.o \
        disp/dpu1/dpu_formats.o \
-       disp/dpu1/dpu_hw_blk.o \
        disp/dpu1/dpu_hw_catalog.o \
        disp/dpu1/dpu_hw_ctl.o \
        disp/dpu1/dpu_hw_interrupts.o \
 
+++ /dev/null
-// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
- */
-
-#define pr_fmt(fmt)    "[drm:%s:%d] " fmt, __func__, __LINE__
-
-#include <linux/mutex.h>
-#include <linux/errno.h>
-#include <linux/slab.h>
-
-#include "dpu_hw_mdss.h"
-#include "dpu_hw_blk.h"
-
-/**
- * dpu_hw_blk_init - initialize hw block object
- * @hw_blk: pointer to hw block object
- * @type: hw block type - enum dpu_hw_blk_type
- * @id: instance id of the hw block
- */
-void dpu_hw_blk_init(struct dpu_hw_blk *hw_blk, u32 type, int id)
-{
-       hw_blk->type = type;
-       hw_blk->id = id;
-}
 
  * @refcount: reference/usage count
  */
 struct dpu_hw_blk {
-       u32 type;
-       int id;
+       /* opaque */
 };
 
-void dpu_hw_blk_init(struct dpu_hw_blk *hw_blk, u32 type, int id);
 #endif /*_DPU_HW_BLK_H */
 
        c->mixer_count = m->mixer_count;
        c->mixer_hw_caps = m->mixer;
 
-       dpu_hw_blk_init(&c->base, DPU_HW_BLK_CTL, idx);
-
        return c;
 }
 
 
        c->cap = cfg;
        _setup_dspp_ops(c, c->cap->features);
 
-       dpu_hw_blk_init(&c->base, DPU_HW_BLK_DSPP, idx);
-
        return c;
 }
 
 
        c->mdss = m;
        _setup_intf_ops(&c->ops, c->cap->features);
 
-       dpu_hw_blk_init(&c->base, DPU_HW_BLK_INTF, idx);
-
        return c;
 }
 
 
        c->cap = cfg;
        _setup_mixer_ops(m, &c->ops, c->cap->features);
 
-       dpu_hw_blk_init(&c->base, DPU_HW_BLK_LM, idx);
-
        return c;
 }
 
 
        c->caps = cfg;
        _setup_merge_3d_ops(c, c->caps->features);
 
-       dpu_hw_blk_init(&c->base, DPU_HW_BLK_MERGE_3D, idx);
-
        return c;
 }
 
 
        c->caps = cfg;
        _setup_pingpong_ops(c, c->caps->features);
 
-       dpu_hw_blk_init(&c->base, DPU_HW_BLK_PINGPONG, idx);
-
        return c;
 }
 
 
        hw_pipe->cap = cfg;
        _setup_layer_ops(hw_pipe, hw_pipe->cap->features);
 
-       dpu_hw_blk_init(&hw_pipe->base, DPU_HW_BLK_SSPP, idx);
-
        return hw_pipe;
 }
 
 
        mdp->caps = cfg;
        _setup_mdp_ops(&mdp->ops, mdp->caps->features);
 
-       dpu_hw_blk_init(&mdp->base, DPU_HW_BLK_TOP, idx);
-
        return mdp;
 }
 
 
                features = ctl->caps->features;
                has_split_display = BIT(DPU_CTL_SPLIT_DISPLAY) & features;
 
-               DPU_DEBUG("ctl %d caps 0x%lX\n", rm->ctl_blks[j]->id, features);
+               DPU_DEBUG("ctl %d caps 0x%lX\n", j + CTL_0, features);
 
                if (needs_split_display != has_split_display)
                        continue;