disp: msm: add allowed_mode_switch blob property
The change adds a new mode property allowed_mode_switch. The new property is a 32bit bitmask that indicates the modes each mode can switch to. This change is required to pass the driver mode switching capabilities, so that user mode can reject any mode switch that is not supported by the driver. Change-Id: I76d1733a07a6d57487ba9f461055270d7e60e060 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
@@ -147,4 +147,12 @@ u64 dsi_drm_find_bit_clk_rate(void *display,
|
||||
int dsi_conn_prepare_commit(void *display,
|
||||
struct msm_display_conn_params *params);
|
||||
|
||||
/**
|
||||
* dsi_set_allowed_mode_switch - set allowed mode switch bitmask
|
||||
* @connector: Pointer to drm connector structure
|
||||
* @display: Pointer to private display structure
|
||||
*/
|
||||
void dsi_conn_set_allowed_mode_switch(struct drm_connector *connector,
|
||||
void *display);
|
||||
|
||||
#endif /* _DSI_DRM_H_ */
|
||||
|
Reference in New Issue
Block a user