Conversation
c32293d to
b46ce87
Compare
13 tasks
added 2 commits
November 19, 2025 10:04
So that it can be used by uterm, to modularize the drm3d renderer. Only function and file renaming, no functionnal change. Signed-off-by: Jocelyn Falempe <[email protected]>
This prepare the work to have a drm3d module, and make the kmscon executable not linked with libEGL Signed-off-by: Jocelyn Falempe <[email protected]>
b46ce87 to
cf2cbca
Compare
This create a new mod-drm3d.so, when video_drm3d is enabled.
So with this patch, kmscon no longer link with libEGL:
ldd kmscon
linux-vdso.so.1 (0x00007f2404cce000)
libxkbcommon.so.0 => /lib64/libxkbcommon.so.0 (0x00007f2404c50000)
libtsm.so.4 => /usr/local/lib64/libtsm.so.4 (0x00007f2404c3d000)
libudev.so.1 => /lib64/libudev.so.1 (0x00007f2404bf6000)
libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f2404ad5000)
libdrm.so.2 => /lib64/libdrm.so.2 (0x00007f2404abc000)
libc.so.6 => /lib64/libc.so.6 (0x00007f24048ca000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007f24048be000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2404892000)
libm.so.6 => /lib64/libm.so.6 (0x00007f24047a4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2404cd0000)
But only mod-drm3d.so and mod-gltex.so depend on it:
ldd mod-drm3d.so
linux-vdso.so.1 (0x00007f04cf05d000)
libdrm.so.2 => /lib64/libdrm.so.2 (0x00007f04cefff000)
libGLESv2.so.2 => /lib64/libGLESv2.so.2 (0x00007f04cefef000)
libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f04cefdd000)
libgbm.so.1 => /lib64/libgbm.so.1 (0x00007f04cefd7000)
libc.so.6 => /lib64/libc.so.6 (0x00007f04cede3000)
libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f04ced6a000)
libm.so.6 => /lib64/libm.so.6 (0x00007f04cec7c000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f04cec51000)
/lib64/ld-linux-x86-64.so.2 (0x00007f04cf05f000)
ldd mod-gltex.so
linux-vdso.so.1 (0x00007f44a0a68000)
libGLESv2.so.2 => /lib64/libGLESv2.so.2 (0x00007f44a0a20000)
libc.so.6 => /lib64/libc.so.6 (0x00007f44a082e000)
libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f44a07b5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f44a0a6a000)
Signed-off-by: Jocelyn Falempe <[email protected]>
cf2cbca to
bf0df28
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With this PR, the kmscon executable is not linked with any GL library.
Only mod-drm3d, and mod-gltex are linked with GL.
Fixes #151