Skip to content

Comments

Rework display and video#165

Merged
kdj0c merged 6 commits intokmscon:mainfrom
kdj0c:rm_unused
Dec 9, 2025
Merged

Rework display and video#165
kdj0c merged 6 commits intokmscon:mainfrom
kdj0c:rm_unused

Conversation

@kdj0c
Copy link
Contributor

@kdj0c kdj0c commented Dec 5, 2025

Remove unused functions:

  • get_buffers()
  • segfault callbacks
  • fake_blend()

Move vblank timer to fbdev, as it's the only user.
Move display modes to shared drm, and simplify modes management.
Use DRM_MODE_TYPE_PREFERRED for the default mode.

Jocelyn Falempe added 6 commits December 5, 2025 09:35
Signed-off-by: Jocelyn Falempe <[email protected]>
Signed-off-by: Jocelyn Falempe <[email protected]>
fbdev doesn't support changing mode, so it has no effect there.
This prepares to switch to atomic modesetting.

Signed-off-by: Jocelyn Falempe <[email protected]>
Use the mode marked with the flag DRM_MODE_TYPE_PREFERRED as default
mode, instead of the first of the list.

Signed-off-by: Jocelyn Falempe <[email protected]>
@kdj0c kdj0c merged commit 9d7ce5a into kmscon:main Dec 9, 2025
2 checks passed
@kdj0c kdj0c deleted the rm_unused branch December 9, 2025 08:38
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.

1 participant