mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
Support 120Hz command sending
Some panels need send command to DDIC.
That TP can get the current refresh rate.
Or Switch GAMMA for OLED.
refer to https://gerrit.mot.com/#/c/2340396/
Change-Id: Ie2d35432173a5c28608364ef1523f228bd9546f5
Signed-off-by: tinno64 <tinno64@motorola.com>
Reviewed-on: https://gerrit.mot.com/2603583
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
parent
c1d1d1151e
commit
d314cb28a3
2 changed files with 4 additions and 0 deletions
|
|
@ -271,6 +271,7 @@ enum dsi_dyn_clk_feature_type {
|
|||
* @DSI_CMD_SET_CABC_UI: CABC UI mode
|
||||
* @DSI_CMD_SET_CABC_MV: CABC MV mode
|
||||
* @DSI_CMD_SET_CABC_DIS: CABC DIS mode
|
||||
* @DSI_CMD_SET_DFPS_CMD_120: DFPS switch to 120
|
||||
* @DSI_CMD_SET_DFPS_CMD_90: DFPS switch to 90
|
||||
* @DSI_CMD_SET_DFPS_CMD_60: DFPS switch to 60
|
||||
* @DSI_CMD_SET_DC_ON: DC mode on
|
||||
|
|
@ -317,6 +318,7 @@ enum dsi_cmd_set_type {
|
|||
DSI_CMD_SET_CABC_UI,
|
||||
DSI_CMD_SET_CABC_MV,
|
||||
DSI_CMD_SET_CABC_DIS,
|
||||
DSI_CMD_SET_DFPS_CMD_120,
|
||||
DSI_CMD_SET_DFPS_CMD_90,
|
||||
DSI_CMD_SET_DFPS_CMD_60,
|
||||
DSI_CMD_SET_DC_ON,
|
||||
|
|
|
|||
|
|
@ -2452,6 +2452,7 @@ const char *cmd_set_prop_map[DSI_CMD_SET_MAX] = {
|
|||
"qcom,mdss-dsi-cabc-ui-command",
|
||||
"qcom,mdss-dsi-cabc-mv-command",
|
||||
"qcom,mdss-dsi-cabc-dis-command",
|
||||
"qcom,mdss-dsi-dfps-120-command",
|
||||
"qcom,mdss-dsi-dfps-90-command",
|
||||
"qcom,mdss-dsi-dfps-60-command",
|
||||
"qcom,mdss-dsi-dc-on-command",
|
||||
|
|
@ -2498,6 +2499,7 @@ const char *cmd_set_state_map[DSI_CMD_SET_MAX] = {
|
|||
"qcom,mdss-dsi-cabc-ui-command-state",
|
||||
"qcom,mdss-dsi-cabc-mv-command-state",
|
||||
"qcom,mdss-dsi-cabc-dis-command-state",
|
||||
"qcom,mdss-dsi-dfps-120-command-state",
|
||||
"qcom,mdss-dsi-dfps-90-command-state",
|
||||
"qcom,mdss-dsi-dfps-60-command-state",
|
||||
"qcom,mdss-dsi-dc-on-command-state",
|
||||
|
|
|
|||
Loading…
Reference in a new issue