e636990de3
This is the first step in order to add support for writeback connector in Weston. We don't want writeback connectors data to be stored in 'struct drm_head' objects, as these objects are used to output content and we should not use writeback connectors for this purpose. The writeback connectors will be stored in a new 'struct drm_writeback', but the connector data is common between 'struct drm_head' and 'struct drm_writeback'. So move connector data from 'struct drm_head' to 'struct drm_connector'. This helps to avoid code duplication and makes the code clearer. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>