sdm: Always apply color mode

When applying color transforms if the requested color
mode is not present the client calls set mode identity
and applies the transformation matrix.
When the transform is reset the identity mode must be
re-applied, having this check will not apply the mode and
reset the transform

Change-Id: Iae98b41f8b95b1464ff840d4165987a6b60dba5f
Crs-fixed: 1035477
diff --git a/sdm/libs/core/display_base.cpp b/sdm/libs/core/display_base.cpp
index 84a137c..e143639 100644
--- a/sdm/libs/core/display_base.cpp
+++ b/sdm/libs/core/display_base.cpp
@@ -780,10 +780,6 @@
   }
 
   SDEDisplayMode *sde_display_mode = it->second;
-  if (color_mode_ == sde_display_mode->id) {
-    DLOGV_IF(kTagQDCM, "Same mode requested");
-    return kErrorNone;
-  }
 
   DLOGV_IF(kTagQDCM, "Color Mode Name = %s corresponding mode_id = %d", sde_display_mode->name,
            sde_display_mode->id);
@@ -794,8 +790,6 @@
     return error;
   }
 
-  color_mode_ = sde_display_mode->id;
-
   return error;
 }
 
diff --git a/sdm/libs/core/display_base.h b/sdm/libs/core/display_base.h
index a9f1c3d..b802ea6 100644
--- a/sdm/libs/core/display_base.h
+++ b/sdm/libs/core/display_base.h
@@ -147,7 +147,6 @@
   bool disable_pu_one_frame_ = false;
   uint32_t num_color_modes_ = 0;
   SDEDisplayMode *color_modes_ = NULL;
-  int32_t color_mode_ = 0;
   typedef std::map<std::string, SDEDisplayMode *> ColorModeMap;
   ColorModeMap color_mode_map_ = {};
   HWDisplayAttributes display_attributes_ = {};