mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
msm/dsi:Modify judgment conditions,add judgments hbm2.
HBM 1 and HBM2 are assigned as HBM on. When HBM is off, the value is HBM off. Change-Id: Iacf17b60725dfe1d2cc2f7206063b81e2e7e98aa Reviewed-on: https://gerrit.mot.com/1783197 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Yeqing Wang <[email protected]> Reviewed-by: Huosheng Liao <[email protected]> Reviewed-by: Shanshan Dai <[email protected]> Submit-Approved: Jira Key
This commit is contained in:
parent
e2b72b2548
commit
ea3e3a4d0c
1 changed files with 2 additions and 2 deletions
|
|
@ -42,8 +42,8 @@
|
|||
|
||||
#define BRIGHTNESS_HBM_ON 0xFFFFFFFE
|
||||
#define BRIGHTNESS_HBM_OFF (BRIGHTNESS_HBM_ON - 1)
|
||||
#define HBM_BRIGHTNESS(value) ((value) == HBM_ON_STATE ?\
|
||||
BRIGHTNESS_HBM_ON : BRIGHTNESS_HBM_OFF)
|
||||
#define HBM_BRIGHTNESS(value) ((value) == HBM_OFF_STATE ?\
|
||||
BRIGHTNESS_HBM_OFF : BRIGHTNESS_HBM_ON)
|
||||
|
||||
/* HBM implementation is different, depending on display and backlight hardware
|
||||
* design, which is classified into the following types:
|
||||
|
|
|
|||
Loading…
Reference in a new issue