disp: msm: populate submode blob information
Mode information apart from the fields in drm_mode_modeinfo that can trigger a modeset like dsc-nondsc, video-cmd are defined in sub mode. For each mode in connector->modes there can be multiple submodes. Change-Id: Ib8697d3fa4ea5261d9ac4943b1a4149e22c4da2f Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
7e03fb61fd
commit
b89a3f739a
@@ -399,6 +399,16 @@ struct sde_connector_ops {
|
||||
* Returns: AVR step fps value on success
|
||||
*/
|
||||
int (*get_avr_step_req)(void *display, u32 mode_fps);
|
||||
|
||||
/**
|
||||
* set_submode_info - populate given sub mode blob
|
||||
* @connector: Pointer to drm connector structure
|
||||
* @info: Pointer to sde connector info structure
|
||||
* @display: Pointer to private display handle
|
||||
* @drm_mode: Pointer to drm_display_mode structure
|
||||
*/
|
||||
void (*set_submode_info)(struct drm_connector *conn,
|
||||
void *info, void *display, struct drm_display_mode *drm_mode);
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -1139,4 +1149,7 @@ int sde_connector_get_panel_vfp(struct drm_connector *connector,
|
||||
*/
|
||||
int sde_connector_esd_status(struct drm_connector *connector);
|
||||
|
||||
const char *sde_conn_get_topology_name(struct drm_connector *conn,
|
||||
struct msm_display_topology topology);
|
||||
|
||||
#endif /* _SDE_CONNECTOR_H_ */
|
||||
|
Reference in New Issue
Block a user