forked from enlightenment/efl
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>
This commit is contained in:
parent
851a2c72af
commit
e0a1e63072
|
@ -1234,10 +1234,7 @@ ecore_drm2_output_enabled_set(Ecore_Drm2_Output *output, Eina_Bool enabled)
|
|||
output->enabled = enabled;
|
||||
|
||||
if (output->enabled)
|
||||
{
|
||||
ecore_drm2_fb_flip(NULL, output);
|
||||
ecore_drm2_output_dpms_set(output, DRM_MODE_DPMS_ON);
|
||||
}
|
||||
ecore_drm2_output_dpms_set(output, DRM_MODE_DPMS_ON);
|
||||
else
|
||||
{
|
||||
if (_ecore_drm2_use_atomic)
|
||||
|
|
Loading…
Reference in New Issue