disp: msm: sde: add allowed_dsc_reservation_switch capability

This change adds allowed_dsc_reservation_switch to determine if
dsc seamless switch is supported for DP. Also, based on the
flag, it determines and populates the required number of
available resources for DP.

Change-Id: I9cd7219a50d352369c5bc8386ce7dc25c30b80b6
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
Dieser Commit ist enthalten in:
Raviteja Tamatam
2021-05-04 09:37:42 +05:30
committet von Gerrit - the friendly Code Review server
Ursprung b89a3f739a
Commit 3789258773
10 geänderte Dateien mit 65 neuen und 0 gelöschten Zeilen

Datei anzeigen

@@ -648,6 +648,14 @@ int dsi_dispaly_static_frame(struct dsi_display *display, bool enable);
*/
struct drm_panel *dsi_display_get_drm_panel(struct dsi_display *display);
/**
* dsi_display_has_dsc_switch_support() - check if dsc switch is supported.
* @display: Handle to display.
*
* Return: True of panel supports both dsc and non-dsc modes.
*/
bool dsi_display_has_dsc_switch_support(struct dsi_display *display);
/**
* dsi_display_enable_event() - enable interrupt based connector event
* @connector: Pointer to drm connector structure