backends/drm: some refactors for DrmPipeline
Based on !1746 (merged). The first commit splits out some of the legacy stuff into a separate file and the second one cleans up the mess with cursors.
Based on !1746 (merged). The first commit splits out some of the legacy stuff into a separate file and the second one cleans up the mess with cursors.