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:
Satya Rama Aditya Pinapala
2020-08-25 17:21:48 -07:00
bovenliggende 4d3912297a
commit 03f9c40e7d
7 gewijzigde bestanden met toevoegingen van 129 en 0 verwijderingen

Bestand weergeven

@@ -680,6 +680,7 @@ struct msm_display_topology {
* @wide_bus_en: wide-bus mode cfg for interface module
* @mdp_transfer_time_us Specifies the mdp transfer time for command mode
* panels in microseconds.
* @allowed_mode_switches: bit mask to indicate supported mode switch.
*/
struct msm_mode_info {
uint32_t frame_rate;
@@ -693,6 +694,7 @@ struct msm_mode_info {
struct msm_roi_caps roi_caps;
bool wide_bus_en;
u32 mdp_transfer_time_us;
u32 allowed_mode_switches;
};
/**