drm: msm: Skip fod_hbm while HBM is active
Change-Id: I84409400b4ba33370a32e8e9cbe87b3ad9dfb83c
This commit is contained in:
@@ -707,6 +707,9 @@ static u32 interpolate(uint32_t x, uint32_t xa, uint32_t xb, uint32_t ya, uint32
|
||||
|
||||
u32 dsi_panel_get_fod_dim_alpha(struct dsi_panel *panel)
|
||||
{
|
||||
if (panel->hbm_mode)
|
||||
return 0;
|
||||
|
||||
u32 brightness = dsi_panel_get_backlight(panel);
|
||||
int i;
|
||||
|
||||
@@ -776,6 +779,9 @@ int dsi_panel_set_fod_hbm(struct dsi_panel *panel, bool status)
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
if (panel->hbm_mode)
|
||||
return rc;
|
||||
|
||||
if (status) {
|
||||
#ifdef CONFIG_EXPOSURE_ADJUSTMENT
|
||||
if (ea_panel_is_enabled()) {
|
||||
|
||||
Reference in New Issue
Block a user