Revert "hwc: explicit cancel if fb plane failed surface assign" 96/103696/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 9 Dec 2016 06:21:44 +0000 (15:21 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Fri, 9 Dec 2016 08:22:24 +0000 (00:22 -0800)
This reverts commit 191793545bfadd9532702cd990af02260b9a571f.

Change-Id: I80f77a96efeb7de2c42d6db6949eac30ee6de402

src/bin/e_comp.c

index 2fbb7d74e1803732b802d9744717ac8457ad31db..40b453a838ea03fc912d13495877e88a97b7029e 100644 (file)
@@ -665,14 +665,6 @@ _e_comp_hwc_changed(void)
              if (e_plane_is_fb_target(ep))
                {
                   if (ep->ec) mode = E_HWC_MODE_FULL;
-                  if (!assign_success)
-                    {
-                       // clean reserved mem and assign NULL to end hwc
-                       if (e_plane_is_reserved(ep))
-                         e_plane_reserved_set(ep, 0);
-
-                       e_plane_ec_set(ep, NULL);
-                    }
                   break;
                }
           }