wl-drm: Fix issue of not being able to set output mode

If we pass in screen geometry here when trying to set an output mode,
we can encounter "out of memory" errors from libdrm with outputs that
have a high resolution. As it turns out, we should be passing 0, 0 for
the x/y values when trying to set an output mode.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-10-25 15:28:46 -04:00
parent fa1a858356
commit 5dc1c1c8eb
1 changed files with 1 additions and 2 deletions

View File

@ -580,8 +580,7 @@ _drm2_randr_apply(void)
if (s->config.priority > top_priority)
top_priority = s->config.priority;
ecore_drm2_output_mode_set(output, mode, s->config.geom.x,
s->config.geom.y);
ecore_drm2_output_mode_set(output, mode, 0, 0);
/* TODO: cannot support rotations until we support planes
* and we cannot support planes until Atomic support is in */