Skip to content

platforms/drm: Improve VT switch handling

Xaver Hugl requested to merge work/better-VT-switch into master

Instead of setting pipelines one by one, use DrmGpu::updateOutputs to set all the outputs on a GPU with a single atomic commit. This makes the switch faster, more reliable and in case the other drm master changes the output configuration it also prevents blanking by taking over the new connector+crtc configuration where possible instead of forcing our own.

Edited by Xaver Hugl

Merge request reports

Loading