Re: [PATCH weston 3/9] compositor-drm: factor out drm_output_init_crtc()

2018-02-12 Thread Daniel Stone
Hi Pekka, On 9 February 2018 at 13:07, Pekka Paalanen wrote: > + i = find_crtc_for_connector(b, resources, connector); > + if (i < 0) { > + weston_log("No usable crtc/encoder pair for connector.\n"); > + return -1; > + } > + > +

[PATCH weston 3/9] compositor-drm: factor out drm_output_init_crtc()

2018-02-09 Thread Pekka Paalanen
From: Pekka Paalanen Factor out drm_output_init_crtc() and drm_output_fini_crtc(), so that the call sites can later be moved easily. On fini, reset scanout_plane and cursor_plane to NULL, so that in the future when the drm_output is not longer destroyed