disp: msm: add support for seamless dsc switch
This change adds logic to determine dsc switch based on the connector property "CONNECTOR_PROP_DSC_MODE" and performs seamless DSC switch if there is any change in DSC configuration. The connector property is populated in msm_sub_mode based on which suitable mode is selected. Change-Id: Ifc4931f16dfb814781bc1d72b103e09103e6bfee Signed-off-by: Yashwanth <yvulapu@codeaurora.org>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Gerrit - the friendly Code Review server

vecāks
ffc7cdbe08
revīzija
7e03fb61fd
@@ -138,6 +138,7 @@ struct sde_connector_ops {
|
||||
* get_mode_info - retrieve mode information
|
||||
* @connector: Pointer to drm connector structure
|
||||
* @drm_mode: Display mode set for the display
|
||||
* @sub_mode: Additional mode info to drm display mode
|
||||
* @mode_info: Out parameter. information of the display mode
|
||||
* @display: Pointer to private display structure
|
||||
* @avail_res: Pointer with curr available resources
|
||||
@@ -145,6 +146,7 @@ struct sde_connector_ops {
|
||||
*/
|
||||
int (*get_mode_info)(struct drm_connector *connector,
|
||||
const struct drm_display_mode *drm_mode,
|
||||
struct msm_sub_mode *sub_mode,
|
||||
struct msm_mode_info *mode_info,
|
||||
void *display,
|
||||
const struct msm_resource_caps_info *avail_res);
|
||||
@@ -1080,11 +1082,13 @@ int sde_connector_set_msm_mode(struct drm_connector_state *conn_state,
|
||||
* sde_connector_get_mode_info - retrieve mode info for given mode
|
||||
* @connector: Pointer to drm connector structure
|
||||
* @drm_mode: Display mode set for the display
|
||||
* @sub_mode: Additional mode info to drm display mode
|
||||
* @mode_info: Out parameter. information of the display mode
|
||||
* Returns: Zero on success
|
||||
*/
|
||||
int sde_connector_get_mode_info(struct drm_connector *conn,
|
||||
const struct drm_display_mode *drm_mode,
|
||||
struct msm_sub_mode *sub_mode,
|
||||
struct msm_mode_info *mode_info);
|
||||
|
||||
/**
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user