Commit Graph
6 Commits
Author SHA1 Message Date
tanhua1 71541e9d76 drm: Add the panel color feature for game mode
Add the panel color enhance feature for game mode

COLOR_VBT:  not use, currently with QC qdcm solution
COLOR_STD:  not use, currently with QC qdcm solution
COLOR_GAME: for game mode enhance
COLOR_NONE: disale panel color enhance

Change-Id: Ia76db7e78741b2ad80081f9b6a92b1619593d938
Signed-off-by: tanhua1 <tanhua1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1974105
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/2160848
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Dezhen Hou <houdz1@motorola.com>
2023-06-01 00:43:20 -03:00
tanhua1 a854918923 propagation: panel: add ft8006s special reset timing control
add a panel reset before touch reset enable for
djn ft8006s special timing

Change-Id: I29a103bd6a0c0f9663e1d956024e922fe17b3af8
Signed-off-by: tanhua1 <tanhua1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2051894
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/2053274
Reviewed-by: Marcos Sassahara <msassaha@motorola.com>
Reviewed-by: Carlos Pinho <cpinho@motorola.com>
2023-06-01 00:43:20 -03:00
tanhua1 3d023239dc display: support ft8006s panel brightness level special align
support ft8006s panel brightness level special align

DSI_BACKLIGHT_LEVEL_ALIGN_BIT15_8_BIT3_0 means:
  12bit brightness
  51H: DVB[11:4]
  52H: DVB[3:0]

Change-Id: I3b4e27eefe07a8ec11badf08a1000c976c79266f
Reviewed-on: https://gerrit.mot.com/1999763
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dezhen Hou <houdz1@motorola.com>
Submit-Approved: Jira Key
2023-06-01 00:43:20 -03:00
tanhua1 8a85c98dcf drm/msm/sde: limit the backlight min brightness as bl_min_level
High-precision brightness will set the brightness level from bl_min_level to
bl_max_level. If we enable 12bit brightness, in fact, the hardware will not
tolerate very low brightness such as level '1 - 9' in liberty, these levels
cause the backlight unstable.
So we have to define the minimum brightness by 'qcom,mdss-dsi-bl-min-level'
that the driver does not set the backlight level below that.

Change-Id: I0c1c76b959e33c2eaa551cd30875e05e983e5ecb
Signed-off-by: tanhua1 <tanhua1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1583985
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
2023-06-01 00:43:20 -03:00
tanhua1 174d801415 backlight: support device hbm use 51 cmd
Guam/Guamp hbm use dcs cmd only, which combined with brightness
cmd, hbm send the 51 cmd, and no need to set brightness again.

Change-Id: Iee8f850bd5856210ec171f203ef7de2685fc3f5c
Signed-off-by: tanhua1 <tanhua1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1553084
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
2023-06-01 00:43:20 -03:00
tanhua1 313376a3ab backlight: add hbm gpio control driver
add hbm gpio control driver

Change-Id: I5f77916e54b8985a352f963ae7ae20b51d73d7e8
Reviewed-on: https://gerrit.mot.com/1546190
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
2023-06-01 00:43:20 -03:00