Skip to content

modesetting: Fix prime screen not display when expansion screen rotates

lihongtao requested to merge lihongtao/xserver:master into master

In the multi screen mode, rotating the expansion screen will cause the prime screen not to display, because crtcs sharing the fb, and delete one crtc fb will affect other crtcs.

One method is to delete all crtcs fb first and then re-create it. And the best solution is to provide a reference mechanism for crtcs sharing fb, drmModeRmFB until ref is 0.

Merge request reports