3be23eff99
The code to init/deinit scanout and cursor planes was in drm_output_init() and drm_output_deinit(). Move this code to specific functions drm_output_init_planes() and drm_output_deinit_planes(), as it makes the code clearer and easier to maintain. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>