Re: [PATCH weston v6 56/73] compositor-drm: remove unused_connectors array

2018-04-12 Thread Daniel Stone
On 12 April 2018 at 14:48, Pekka Paalanen wrote: > On Thu, 12 Apr 2018 14:38:01 +0200 Daniel Stone wrote: >> > + wl_list_for_each(head_base, >> > +&b->compositor->head_list, >> > compositor_link) { >> >> wl_list_for_each(head, &b->compositor->head_li

Re: [PATCH weston v6 56/73] compositor-drm: remove unused_connectors array

2018-04-12 Thread Pekka Paalanen
On Thu, 12 Apr 2018 14:38:01 +0200 Daniel Stone wrote: > Hi Pekka, > > On 16 February 2018 at 15:57, Pekka Paalanen wrote: > > Replace the unused_connectors array by iterating through the head list > > instead. A head that is not enabled (attached to an enabled output) is > > basically an unuse

Re: [PATCH weston v6 56/73] compositor-drm: remove unused_connectors array

2018-04-12 Thread Daniel Stone
Hi Pekka, On 16 February 2018 at 15:57, Pekka Paalanen wrote: > Replace the unused_connectors array by iterating through the head list > instead. A head that is not enabled (attached to an enabled output) is > basically an unused connector. > > All connectors regardless of their status have a drm

[PATCH weston v6 56/73] compositor-drm: remove unused_connectors array

2018-02-16 Thread Pekka Paalanen
From: Pekka Paalanen Replace the unused_connectors array by iterating through the head list instead. A head that is not enabled (attached to an enabled output) is basically an unused connector. All connectors regardless of their status have a drm_head. This has the nice effect that drm_pending_s