drm/msm/dpu: remove unused dpu_hw_blk features
[linux-2.6-microblaze.git] / drivers / gpu / drm / msm / disp / dpu1 / dpu_hw_blk.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
3  */
4
5 #ifndef _DPU_HW_BLK_H
6 #define _DPU_HW_BLK_H
7
8 #include <linux/types.h>
9 #include <linux/list.h>
10
11 struct dpu_hw_blk;
12
13
14 /**
15  * struct dpu_hw_blk - definition of hardware block object
16  * @list: list of hardware blocks
17  * @type: hardware block type
18  * @id: instance id
19  * @refcount: reference/usage count
20  */
21 struct dpu_hw_blk {
22         u32 type;
23         int id;
24 };
25
26 void dpu_hw_blk_init(struct dpu_hw_blk *hw_blk, u32 type, int id);
27 void dpu_hw_blk_destroy(struct dpu_hw_blk *hw_blk);
28 #endif /*_DPU_HW_BLK_H */