disp: msm: sde: add check for sunlight visibility scale
Add check to clip the sunlight visibility scale to an upper limit of MAX_SV_BL_SCALE_LEVEL * 4. Change-Id: I8cc7bf8fba90e115d046ec030983801ce6d93c1d Signed-off-by: Ping Li <pingli@codeaurora.org> Signed-off-by: Yuchao Ma <yuchaom@codeaurora.org>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
84973878ad
当前提交
dd2e1fd03f
@@ -25,6 +25,7 @@
|
||||
#define MAX_BL_LEVEL 4096
|
||||
#define MAX_BL_SCALE_LEVEL 1024
|
||||
#define MAX_SV_BL_SCALE_LEVEL 65535
|
||||
#define SV_BL_SCALE_CAP (MAX_SV_BL_SCALE_LEVEL * 4)
|
||||
#define DSI_CMD_PPS_SIZE 135
|
||||
|
||||
#define DSI_CMD_PPS_HDR_SIZE 7
|
||||
|
在新工单中引用
屏蔽一个用户