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:

committato da
Jeykumar Sankaran

parent
5fe7c2f8a0
commit
d9794d82cd
@@ -196,7 +196,7 @@ struct sde_rm_hw_blk;
|
||||
* @type: Hardware Block Type client wishes to search for.
|
||||
*/
|
||||
struct sde_rm_hw_iter {
|
||||
void *hw;
|
||||
struct sde_hw_blk_reg_map *hw;
|
||||
struct sde_rm_hw_blk *blk;
|
||||
uint32_t enc_id;
|
||||
enum sde_hw_blk_type type;
|
||||
@@ -209,7 +209,7 @@ struct sde_rm_hw_iter {
|
||||
* @id: Hardware block id
|
||||
*/
|
||||
struct sde_rm_hw_request {
|
||||
void *hw;
|
||||
struct sde_hw_blk_reg_map *hw;
|
||||
enum sde_hw_blk_type type;
|
||||
int id;
|
||||
};
|
||||
@@ -405,16 +405,6 @@ bool sde_rm_topology_is_group(struct sde_rm *rm,
|
||||
struct drm_crtc_state *state,
|
||||
enum sde_rm_topology_group group);
|
||||
|
||||
/**
|
||||
* sde_rm_ext_blk_destroy - Given the encoder for the display chain, release
|
||||
* external HW blocks created for that.
|
||||
* @rm: SDE Resource Manager handle
|
||||
* @enc: DRM Encoder handle
|
||||
* @Return: 0 on Success otherwise -ERROR
|
||||
*/
|
||||
int sde_rm_ext_blk_destroy(struct sde_rm *rm,
|
||||
struct drm_encoder *enc);
|
||||
|
||||
/**
|
||||
* sde_rm_get_resource_info - returns avail hw resource info
|
||||
* @mr: sde rm object
|
||||
|
Fai riferimento in un nuovo problema
Block a user