e_output: Do not unfetch if plane needs unset commit when DPMS_OFF 99/122999/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 3 Apr 2017 12:10:44 +0000 (21:10 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 4 Apr 2017 08:29:13 +0000 (01:29 -0700)
Change-Id: I257806d9a1dc20a53eb613d53b95a466edbadfe6

src/bin/e_output.c

index 416f477a93c2d779b5b0a94c037d84c53dd05e97..7bda85a533948704986379c14d49410a66f0dfc1 100644 (file)
@@ -794,7 +794,9 @@ e_output_commit(E_Output *output)
 
         if (output->dpms == E_OUTPUT_DPMS_OFF)
           {
-              e_plane_unfetch(plane);
+              if (!plane->need_unset_commit)
+                e_plane_unfetch(plane);
+
               continue;
           }