Skip to content

(release/25.1) modesetting: properly use fb_id of front_bo for reverse PRIME CRTC#2286

Open
metux wants to merge 1 commit intorelease/25.1from
pr/modesetting-properly-use-fb-id-of-front-bo-for-reverse-prime-crtc-_2026-04-18_19-51-14
Open

(release/25.1) modesetting: properly use fb_id of front_bo for reverse PRIME CRTC#2286
metux wants to merge 1 commit intorelease/25.1from
pr/modesetting-properly-use-fb-id-of-front-bo-for-reverse-prime-crtc-_2026-04-18_19-51-14

Conversation

@metux
Copy link
Copy Markdown
Contributor

@metux metux commented Apr 18, 2026

When doing reverse PRIME, the buffer being scaned out is still the front
BO.

Properly reuse its fb_id, to prevent adding a FB for the front_bo each
time the fb_id is requested.

Signed-off-by: Icenowy Zheng uwu@icenowy.me
Part-of: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2064

@metux metux self-assigned this Apr 18, 2026
@metux metux requested a review from a team April 18, 2026 17:51
When doing reverse PRIME, the buffer being scaned out is still the front
BO.

Properly reuse its fb_id, to prevent adding a FB for the front_bo each
time the fb_id is requested.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2064>
metux pushed a commit that referenced this pull request Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants