Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcc81f18 authored by jabashque's avatar jabashque Committed by MajorP93
Browse files

display: oplus: Don't skip pcc for doze modes

Let's leave the color transformations applied while in Always-on Display
mode.

Change-Id: I7403ceb359d7f85b6e4169d2b8a0aab4373b8b64
parent 4a82993f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -675,9 +675,7 @@ int sde_crtc_config_fingerprint_dim_layer(struct drm_crtc_state *crtc_state, int

bool is_skip_pcc(struct drm_crtc *crtc)
{
	if (OPLUS_DISPLAY_POWER_DOZE_SUSPEND == get_oplus_display_power_status() ||
	    OPLUS_DISPLAY_POWER_DOZE == get_oplus_display_power_status() ||
	    sde_crtc_get_fingerprint_pressed(crtc->state))
	if (sde_crtc_get_fingerprint_pressed(crtc->state))
		return true;

	return false;