Skip to content

backends/drm: don't do multi gpu copies if we'd copy from and to the same render device

Xaver Hugl requested to merge work/zamundaaa/copy-check into master

Some hardware has multiple display devices but only one render device; doing a copy in that case reduces performance for no reason.

This fixes a performance problem and works around some bugs on the Librem 5, where KWin by default picks the card2 device, which isn't connected to the display

Merge request reports