swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 6a909e227e18403c75651aa733d03b4c45f6f234
parent 633b4c0e2de0f2a8717da65bd2c6af576c4df3b8
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 27 Feb 2014 00:16:13 -0800

framebuffer_plane: Don't try a modeset on initialization

Diffstat:
Mlibswc/framebuffer_plane.c | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/libswc/framebuffer_plane.c b/libswc/framebuffer_plane.c @@ -207,14 +207,6 @@ bool framebuffer_plane_initialize(struct framebuffer_plane * plane, } memcpy(plane_connectors, connectors, num_connectors * sizeof connectors[0]); - - if (drmModeSetCrtc(swc.drm->fd, crtc, -1, 0, 0, - connectors, num_connectors, &mode->info) != 0) - { - ERROR("Failed to set CRTC: %s\n", strerror(errno)); - goto error2; - } - plane->crtc = crtc; plane->need_modeset = true; view_initialize(&plane->view, &view_impl); @@ -227,8 +219,6 @@ bool framebuffer_plane_initialize(struct framebuffer_plane * plane, return true; - error2: - wl_array_release(&plane->connectors); error1: drmModeFreeCrtc(plane->original_crtc_state); error0: