diff options
author | Chris Michael <cp.michael@samsung.com> | 2017-05-19 11:33:19 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2017-05-19 11:33:19 -0400 |
commit | e0a1e63072eb1282dc0bc16042fddbc00ffb7c26 (patch) | |
tree | 396934477a873fab347f15b54558a397f4fc35d7 /src/lib/ecore_drm2/ecore_drm2_outputs.c | |
parent | 851a2c72afab9a8605f804fd245f20cf78ab10e6 (diff) |
ecore-drm2: Don't call fb_flip until output is enabled
When calling ecore_drm2_output_enabled_set, we cannot initiate a
pageflip until the output has been enabled, so remove call to fb_flip
here. The dpms_set function will handle issueing the pageflip anyway.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_outputs.c')
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_outputs.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c index ee99ccad77..ae1a0c9654 100644 --- a/src/lib/ecore_drm2/ecore_drm2_outputs.c +++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c | |||
@@ -1234,10 +1234,7 @@ ecore_drm2_output_enabled_set(Ecore_Drm2_Output *output, Eina_Bool enabled) | |||
1234 | output->enabled = enabled; | 1234 | output->enabled = enabled; |
1235 | 1235 | ||
1236 | if (output->enabled) | 1236 | if (output->enabled) |
1237 | { | 1237 | ecore_drm2_output_dpms_set(output, DRM_MODE_DPMS_ON); |
1238 | ecore_drm2_fb_flip(NULL, output); | ||
1239 | ecore_drm2_output_dpms_set(output, DRM_MODE_DPMS_ON); | ||
1240 | } | ||
1241 | else | 1238 | else |
1242 | { | 1239 | { |
1243 | if (_ecore_drm2_use_atomic) | 1240 | if (_ecore_drm2_use_atomic) |