Skip to content

Commit

Permalink
HACK: drm: msm: sde: Explicitly disable CRC after HBM on
Browse files Browse the repository at this point in the history
- this completely fixes the broken HBM issue with DC dimming

Signed-off-by: UtsavBalar1231 <[email protected]>
  • Loading branch information
UtsavBalar1231 authored and penglezos committed Jun 13, 2020
1 parent 48fa3d1 commit 94b3ead
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions drivers/gpu/drm/msm/sde/sde_connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,11 +764,9 @@ int sde_connector_update_hbm(struct sde_connector *c_conn)
pr_debug("notify hbm on to displayfeature\n");
}

if (dsi_display->panel->dc_enable) {
dsi_display->panel->dc_enable = false;
pr_debug("fod set CRC OFF\n");
dsi_display_write_panel(dsi_display, &dsi_display->panel->cur_mode->priv_info->cmd_sets[DSI_CMD_SET_DISP_CRC_OFF]);
}
/* force disable CRC */
pr_debug("fod set CRC OFF\n");
dsi_display_write_panel(dsi_display, &dsi_display->panel->cur_mode->priv_info->cmd_sets[DSI_CMD_SET_DISP_CRC_OFF]);

mutex_unlock(&dsi_display->panel->panel_lock);
if (rc) {
Expand Down

0 comments on commit 94b3ead

Please sign in to comment.