disp: msm: snapshot of msm and sde driver
This snapshot ports changes from 4.14 to 4.19 into the msm and sde layer. Snapshot was taken as of commit 0f8fb25421ff ("cnss2: Add device version to SOC info structure"). Change-Id: I59b799a78319c2db6930a2a10bc38976f8c09898 Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
@@ -247,13 +247,6 @@ bool sde_rm_get_hw(struct sde_rm *rm, struct sde_rm_hw_iter *iter);
|
||||
*/
|
||||
bool sde_rm_request_hw_blk(struct sde_rm *rm, struct sde_rm_hw_request *hw);
|
||||
|
||||
/**
|
||||
* sde_rm_check_property_topctl - validate property bitmask before it is set
|
||||
* @val: user's proposed topology control bitmask
|
||||
* @Return: 0 on success or error
|
||||
*/
|
||||
int sde_rm_check_property_topctl(uint64_t val);
|
||||
|
||||
/**
|
||||
* sde_rm_cont_splash_res_init - Read the current MDSS configuration
|
||||
* to update the splash data structure with the topology
|
||||
@@ -297,4 +290,26 @@ static inline bool sde_rm_topology_is_dual_ctl(struct sde_rm *rm,
|
||||
|
||||
return rm->topology_tbl[topology].num_ctl == DUAL_CTL;
|
||||
}
|
||||
|
||||
/**
|
||||
* sde_rm_ext_blk_create_reserve - Create external HW blocks
|
||||
* in resource manager and reserve for specific encoder.
|
||||
* @rm: SDE Resource Manager handle
|
||||
* @hw: external HW block
|
||||
* @drm_enc: DRM Encoder handle
|
||||
* @Return: 0 on Success otherwise -ERROR
|
||||
*/
|
||||
int sde_rm_ext_blk_create_reserve(struct sde_rm *rm,
|
||||
struct sde_hw_blk *hw,
|
||||
struct drm_encoder *enc);
|
||||
|
||||
/**
|
||||
* 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);
|
||||
#endif /* __SDE_RM_H__ */
|
||||
|
Reference in New Issue
Block a user