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:
@@ -366,6 +366,14 @@ struct sde_connector_ops {
|
||||
* Returns: Zero on success
|
||||
*/
|
||||
int (*install_properties)(void *display, struct drm_connector *conn);
|
||||
|
||||
/**
|
||||
* set_allowed_mode_switch - set allowed_mode_switch flag
|
||||
* @connector: Pointer to drm connector structure
|
||||
* @display: Pointer to private display structure
|
||||
*/
|
||||
void (*set_allowed_mode_switch)(struct drm_connector *connector,
|
||||
void *display);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user