disp: msm: sde: remove sde_hw_blk

The sde_hw_blk was meant to be a generic base object for all
SDE HW blocks, however, it enforces using a common set of ops
which is not practical when blocks have different capabilities.
Since this object was never used as intended and is not doing
anything functional today, remove the dead weight.

Change-Id: If76006c1ae5c62e8d7d77b100837dbaf6c661bd3
Signed-off-by: Steve Cohen <quic_cohens@quicinc.com>
This commit is contained in:
Steve Cohen
2021-06-07 19:51:37 -04:00
committed by Jeykumar Sankaran
부모 5fe7c2f8a0
커밋 d9794d82cd
36개의 변경된 파일190개의 추가작업 그리고 620개의 파일을 삭제

파일 보기

@@ -10,7 +10,6 @@
#include "sde_hw_mdss.h"
#include "sde_hw_util.h"
#include "sde_reg_dma.h"
#include "sde_hw_blk.h"
#include "sde_formats.h"
#include "sde_color_processing.h"
@@ -691,7 +690,6 @@ struct sde_hw_sspp_ops {
* @ops: pointer to operations possible for this pipe
*/
struct sde_hw_pipe {
struct sde_hw_blk base;
struct sde_hw_blk_reg_map hw;
struct sde_mdss_cfg *catalog;
struct sde_mdp_cfg *mdp;
@@ -705,16 +703,6 @@ struct sde_hw_pipe {
struct sde_hw_ctl *ctl;
};
/**
* sde_hw_pipe - convert base object sde_hw_base to container
* @hw: Pointer to base hardware block
* return: Pointer to hardware block container
*/
static inline struct sde_hw_pipe *to_sde_hw_pipe(struct sde_hw_blk *hw)
{
return container_of(hw, struct sde_hw_pipe, base);
}
/**
* sde_hw_sspp_init - initializes the sspp hw driver object.
* Should be called once before accessing every pipe.