Commit 4a42c5b5 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Rob Clark

drm/msm/dpu: move struct dpu_hw_blk definition to dpu_hw_utils.h

There is little point in having a separate header just for a single
opaque struct definition. Drop it now and move the struct to the
dpu_hw_util.h header.
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarAbhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/488016/
Link: https://lore.kernel.org/r/20220601161349.1517667-5-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 9403f9a4
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include "dpu_kms.h" #include "dpu_kms.h"
#include "dpu_core_perf.h" #include "dpu_core_perf.h"
#include "dpu_hw_blk.h"
#define DPU_CRTC_NAME_SIZE 12 #define DPU_CRTC_NAME_SIZE 12
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include "dpu_hw_top.h" #include "dpu_hw_top.h"
#include "dpu_hw_wb.h" #include "dpu_hw_wb.h"
#include "dpu_hw_lm.h" #include "dpu_hw_lm.h"
#include "dpu_hw_blk.h"
#include "dpu_hw_merge3d.h" #include "dpu_hw_merge3d.h"
#include "dpu_hw_interrupts.h" #include "dpu_hw_interrupts.h"
#include "dpu_core_irq.h" #include "dpu_core_irq.h"
......
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
*/
#ifndef _DPU_HW_BLK_H
#define _DPU_HW_BLK_H
#include <linux/types.h>
#include <linux/list.h>
struct dpu_hw_blk;
/**
* struct dpu_hw_blk - definition of hardware block object
* @list: list of hardware blocks
* @type: hardware block type
* @id: instance id
* @refcount: reference/usage count
*/
struct dpu_hw_blk {
/* opaque */
};
#endif /*_DPU_HW_BLK_H */
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "dpu_hw_util.h" #include "dpu_hw_util.h"
#include "dpu_hw_catalog.h" #include "dpu_hw_catalog.h"
#include "dpu_hw_sspp.h" #include "dpu_hw_sspp.h"
#include "dpu_hw_blk.h"
/** /**
* dpu_ctl_mode_sel: Interface mode selection * dpu_ctl_mode_sel: Interface mode selection
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
#ifndef _DPU_HW_DSPP_H #ifndef _DPU_HW_DSPP_H
#define _DPU_HW_DSPP_H #define _DPU_HW_DSPP_H
#include "dpu_hw_blk.h"
struct dpu_hw_dspp; struct dpu_hw_dspp;
/** /**
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "dpu_hw_catalog.h" #include "dpu_hw_catalog.h"
#include "dpu_hw_mdss.h" #include "dpu_hw_mdss.h"
#include "dpu_hw_util.h" #include "dpu_hw_util.h"
#include "dpu_hw_blk.h"
struct dpu_hw_intf; struct dpu_hw_intf;
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "dpu_hw_mdss.h" #include "dpu_hw_mdss.h"
#include "dpu_hw_util.h" #include "dpu_hw_util.h"
#include "dpu_hw_blk.h"
struct dpu_hw_mixer; struct dpu_hw_mixer;
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "dpu_hw_catalog.h" #include "dpu_hw_catalog.h"
#include "dpu_hw_mdss.h" #include "dpu_hw_mdss.h"
#include "dpu_hw_util.h" #include "dpu_hw_util.h"
#include "dpu_hw_blk.h"
struct dpu_hw_merge_3d; struct dpu_hw_merge_3d;
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "dpu_hw_catalog.h" #include "dpu_hw_catalog.h"
#include "dpu_hw_mdss.h" #include "dpu_hw_mdss.h"
#include "dpu_hw_util.h" #include "dpu_hw_util.h"
#include "dpu_hw_blk.h"
#define DITHER_MATRIX_SZ 16 #define DITHER_MATRIX_SZ 16
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "dpu_hw_catalog.h" #include "dpu_hw_catalog.h"
#include "dpu_hw_mdss.h" #include "dpu_hw_mdss.h"
#include "dpu_hw_util.h" #include "dpu_hw_util.h"
#include "dpu_hw_blk.h"
#include "dpu_formats.h" #include "dpu_formats.h"
struct dpu_hw_pipe; struct dpu_hw_pipe;
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "dpu_hw_catalog.h" #include "dpu_hw_catalog.h"
#include "dpu_hw_mdss.h" #include "dpu_hw_mdss.h"
#include "dpu_hw_util.h" #include "dpu_hw_util.h"
#include "dpu_hw_blk.h"
struct dpu_hw_mdp; struct dpu_hw_mdp;
......
...@@ -31,6 +31,13 @@ struct dpu_hw_blk_reg_map { ...@@ -31,6 +31,13 @@ struct dpu_hw_blk_reg_map {
u32 log_mask; u32 log_mask;
}; };
/**
* struct dpu_hw_blk - opaque hardware block object
*/
struct dpu_hw_blk {
/* opaque */
};
/** /**
* struct dpu_hw_scaler3_de_cfg : QSEEDv3 detail enhancer configuration * struct dpu_hw_scaler3_de_cfg : QSEEDv3 detail enhancer configuration
* @enable: detail enhancer enable/disable * @enable: detail enhancer enable/disable
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment