Skip to contentSkip to conversation

drm-info: add recipe

PATCH In review Hiago De Franco 2 participants 8 messages Nov 1, 2024 – Nov 3, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm-info: add recipe

From: Hiago De Franco <[email protected]>

This recipe provides information about DRM devices, useful for debugging and checking information about DRM.

---
 meta/conf/distro/include/maintainers.inc    |  1 +
 meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 7aafa7a2d146..2c2779f8cf83 100644
@@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER:pn-dpkg = "Unassigned <[email protected]>"
+RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco <[email protected]>"
 RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <[email protected]>"
 RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin <[email protected]>"
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +13 -0
new file mode 100644
index 000000000000..9f1cbb47fbfd
@@ -0,0 +1,13 @@
+SUMMARY = "Small utility to dump info about DRM devices"
+HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"
+
+SRC_URI = "git://gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https"
+SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+DEPENDS = "json-c libdrm"
#1 lore raw

Should this go to meta-oe rather? Why core?

Alex

Quoted 61 lines · Hiago De Franco via lists.openembedded.org

From: Hiago De Franco <[email protected]>

This recipe provides information about DRM devices, useful for debugging and checking information about DRM.

---
 meta/conf/distro/include/maintainers.inc    |  1 +
 meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb
meta/conf/distro/include/maintainers.inc +0 -0
index 7aafa7a2d146..2c2779f8cf83 100644
@@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi

Zhao <[email protected]>"
RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dpkg = "Unassigned <[email protected]>"
+RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < [email protected]>"
RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <[email protected]>" RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin <
[email protected]>"

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +6 -0
new file mode 100644
index 000000000000..9f1cbb47fbfd
@@ -0,0 +1,13 @@
+SUMMARY = "Small utility to dump info about DRM devices"
+HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"
+
+SRC_URI = "git://

gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https"

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +7 -1
+SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+DEPENDS = "json-c libdrm"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group. View/Reply Online (#206628):
https://lists.openembedded.org/g/openembedded-core/message/206628
Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Hi Alexander,

Quoted 1 line · Alexander Kanavin

Should this go to meta-oe rather? Why core?

I was not 100% sure, I just selected here because I saw the recipe for 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if openembedded-core is not the correct place. Please let me know.

Quoted 56 lines

Alex

Quoted 50 lines · Hiago De Franco via lists.openembedded.org

From: Hiago De Franco <[email protected]>

This recipe provides information about DRM devices, useful for debugging and checking information about DRM.

---
 meta/conf/distro/include/maintainers.inc    |  1 +
 meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb
meta/conf/distro/include/maintainers.inc +0 -0
index 7aafa7a2d146..2c2779f8cf83 100644
@@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi

Zhao <[email protected]>"
RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dpkg = "Unassigned <[email protected]>"
+RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < [email protected]>"
RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <[email protected]>" RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin <
[email protected]>"

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +6 -0
new file mode 100644
index 000000000000..9f1cbb47fbfd
@@ -0,0 +1,13 @@
+SUMMARY = "Small utility to dump info about DRM devices"
+HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"
+
+SRC_URI = "git://

gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https"

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +7 -0
+SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+DEPENDS = "json-c libdrm"
Quoted 11 lines
Quoted 11 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#206628):
https://lists.openembedded.org/g/openembedded-core/message/206628
Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Regards,

Hiago.

#3 lore raw

Perhaps you can show what the tool outputs?

Alex

Quoted 86 lines · Hiago De Franco

Hi Alexander,

Quoted 1 line · Alexander Kanavin

Should this go to meta-oe rather? Why core?

I was not 100% sure, I just selected here because I saw the recipe for 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if openembedded-core is not the correct place. Please let me know.

Quoted 9 lines

Alex

Quoted 3 lines · Hiago De Franco via lists.openembedded.org

From: Hiago De Franco <[email protected]>

This recipe provides information about DRM devices, useful for

debugging

Quoted 29 lines
Quoted 15 lines

and checking information about DRM.

---
 meta/conf/distro/include/maintainers.inc    |  1 +
 meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb
meta/conf/distro/include/maintainers.inc +0 -0
index 7aafa7a2d146..2c2779f8cf83 100644
@@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi
Quoted 4 lines

Zhao <[email protected]>"
RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dpkg = "Unassigned <[email protected]

"

Quoted 9 lines

+RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < [email protected]>"
RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <[email protected]>" RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin <
[email protected]>"

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +0 -0
new file mode 100644
Quoted 8 lines

meta/recipes-graphics/drm/drm-info_2.7.0.bb line 4

Quoted 8 lines

index 000000000000..9f1cbb47fbfd

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +4 -0
@@ -0,0 +1,13 @@
+SUMMARY = "Small utility to dump info about DRM devices"
+HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"

Quoted 3 lines

meta/recipes-graphics/drm/drm-info_2.7.0.bb line 6

Quoted 3 lines
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +2 -0
+
+SRC_URI = "git://

gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https"

Quoted 8 lines
Quoted 8 lines
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +7 -0
+SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+DEPENDS = "json-c libdrm"
Quoted 7 lines
Quoted 7 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#206628):
https://lists.openembedded.org/g/openembedded-core/message/206628
Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub

[

Quoted 4 lines
Quoted 4 lines

[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Regards,

Hiago.

#4 lore raw
Quoted 1 line · Alexander Kanavin

Perhaps you can show what the tool outputs?

Sure, here is the output for qemu x86-64:

root@qemux86-64:~# drm_info
Node: /dev/dri/card0
├───Driver: bochs-drm (bochs dispi vga interface (qemu stdvga)) version 1.0.0 (201309)
│   ├───DRM_CLIENT_CAP_STEREO_3D supported
│   ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
│   ├───DRM_CLIENT_CAP_ATOMIC supported
│   ├───DRM_CLIENT_CAP_ASPECT_RATIO supported
│   ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS supported
│   ├───DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT not supported
│   ├───DRM_CAP_DUMB_BUFFER = 1
│   ├───DRM_CAP_VBLANK_HIGH_CRTC = 1
│   ├───DRM_CAP_DUMB_PREFERRED_DEPTH = 24
│   ├───DRM_CAP_DUMB_PREFER_SHADOW = 0
│   ├───DRM_CAP_PRIME = 3
│   ├───DRM_CAP_TIMESTAMP_MONOTONIC = 1
│   ├───DRM_CAP_ASYNC_PAGE_FLIP = 0
│   ├───DRM_CAP_CURSOR_WIDTH = 64
│   ├───DRM_CAP_CURSOR_HEIGHT = 64
│   ├───DRM_CAP_ADDFB2_MODIFIERS = 1
│   ├───DRM_CAP_PAGE_FLIP_TARGET = 0
│   ├───DRM_CAP_CRTC_IN_VBLANK_EVENT = 1
│   ├───DRM_CAP_SYNCOBJ = 0
│   ├───DRM_CAP_SYNCOBJ_TIMELINE = 0
│   └───DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP = 0
├───Device: PCI 1234:1111
│   └───Available nodes: primary
├───Framebuffer size
│   ├───Width: [0, 8192]
│   └───Height: [0, 8192]
├───Connectors
│   └───Connector 0
│       ├───Object ID: 32
│       ├───Type: virtual
│       ├───Status: connected
│       ├───Physical size: 320×200 mm
│       ├───Subpixel: unknown
│       ├───Encoders: {0}
│       ├───Modes
│       │   ├───1280×[email protected] preferred driver nhsync nvsync
│       │   ├───1920×[email protected] driver nhsync nvsync
│       │   ├───1920×[email protected] driver phsync pvsync 16:9
│       │   ├───1600×[email protected] driver phsync pvsync
│       │   ├───1680×[email protected] driver nhsync pvsync
│       │   ├───1400×[email protected] driver nhsync pvsync
│       │   ├───1280×[email protected] driver phsync pvsync
│       │   ├───1440×[email protected] driver nhsync pvsync
│       │   ├───1280×[email protected] driver phsync pvsync
│       │   ├───1360×[email protected] driver phsync pvsync
│       │   ├───1280×[email protected] driver nhsync pvsync
│       │   ├───1024×[email protected] driver nhsync nvsync
│       │   ├───800×[email protected] driver phsync pvsync
│       │   ├───640×[email protected] driver nhsync nvsync 4:3
│       │   └───640×[email protected] driver nhsync nvsync
│       └───Properties
│           ├───"DPMS": enum {On, Standby, Suspend, Off} = On
│           ├───"link-status": enum {Good, Bad} = Good
│           ├───"non-desktop" (immutable): range [0, 1] = 0
│           ├───"TILE" (immutable): blob = 0
│           ├───"CRTC_ID" (atomic): object CRTC = 36
│           └───"EDID" (immutable): blob = 33
├───Encoders
│   └───Encoder 0
│       ├───Object ID: 37
│       ├───Type: none
│       ├───CRTCS: {0}
│       └───Clones: {0}
├───CRTCs
│   └───CRTC 0
│       ├───Object ID: 36
│       ├───Legacy info
│       │   ├───Mode: 1280×[email protected] preferred driver nhsync nvsync
│       │   └───Gamma size: 0
│       └───Properties
│           ├───"ACTIVE" (atomic): range [0, 1] = 1
│           ├───"MODE_ID" (atomic): blob = 39
│           │   └───1280×[email protected] preferred driver nhsync nvsync
│           ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0
│           └───"VRR_ENABLED": range [0, 1] = 0
└───Planes
    └───Plane 0
        ├───Object ID: 34
        ├───CRTCs: {0}
        ├───Legacy info
        │   ├───FB ID: 38
        │   │   ├───Object ID: 38
        │   │   ├───Size: 1280×800
        │   │   ├───Format: XRGB8888 (0x34325258)
        │   │   ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
        │   │   └───Planes:
        │   │       └───Plane 0: offset = 0, pitch = 5120 bytes
        │   └───Formats:
        │       ├───XRGB8888 (0x34325258)
        │       └───BGRX8888 (0x34325842)
        └───Properties
            ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
            ├───"FB_ID" (atomic): object framebuffer = 38
            │   ├───Object ID: 38
            │   ├───Size: 1280×800
            │   ├───Format: XRGB8888 (0x34325258)
            │   ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
            │   └───Planes:
            │       └───Plane 0: offset = 0, pitch = 5120 bytes
            ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1
            ├───"CRTC_ID" (atomic): object CRTC = 36
            ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0
            ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0
            ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 1280
            ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 800
            ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0
            ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0
            ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 1280
            ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 800
            └───"IN_FORMATS" (immutable): blob = 35
                └───DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
                    ├───XRGB8888 (0x34325258)
                    └───BGRX8888 (0x34325842)

It is basically a dump with information about DRM devices.

Quoted 91 lines

Alex

Quoted 86 lines · Hiago De Franco

Hi Alexander,

Quoted 1 line · Alexander Kanavin

Should this go to meta-oe rather? Why core?

I was not 100% sure, I just selected here because I saw the recipe for 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if openembedded-core is not the correct place. Please let me know.

Quoted 9 lines

Alex

Quoted 3 lines · Hiago De Franco via lists.openembedded.org

From: Hiago De Franco <[email protected]>

This recipe provides information about DRM devices, useful for

debugging

Quoted 29 lines
Quoted 15 lines

and checking information about DRM.

---
 meta/conf/distro/include/maintainers.inc    |  1 +
 meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb
meta/conf/distro/include/maintainers.inc +0 -0
index 7aafa7a2d146..2c2779f8cf83 100644
@@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi
Quoted 4 lines

Zhao <[email protected]>"
RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dpkg = "Unassigned <[email protected]

"

Quoted 9 lines

+RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < [email protected]>"
RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <[email protected]>" RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin <
[email protected]>"

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +0 -0
new file mode 100644
Quoted 8 lines

meta/recipes-graphics/drm/drm-info_2.7.0.bb line 4

Quoted 8 lines

index 000000000000..9f1cbb47fbfd

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +4 -0
@@ -0,0 +1,13 @@
+SUMMARY = "Small utility to dump info about DRM devices"
+HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"

Quoted 3 lines

meta/recipes-graphics/drm/drm-info_2.7.0.bb line 6

Quoted 3 lines
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +2 -0
+
+SRC_URI = "git://

gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https"

Quoted 8 lines
Quoted 8 lines
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +7 -0
+SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+DEPENDS = "json-c libdrm"
Quoted 7 lines
Quoted 7 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#206628):
https://lists.openembedded.org/g/openembedded-core/message/206628
Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub

[

Quoted 4 lines
Quoted 4 lines

[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Regards,

Hiago.

Regards,

Hiago.

#5 lore raw

Thanks, this does seem useful. I'd want input from people actively working with graphics, but not sure who to ask.

Alex

Quoted 220 lines · Hiago De Franco
Quoted 1 line · Alexander Kanavin

Perhaps you can show what the tool outputs?

Sure, here is the output for qemu x86-64:

root@qemux86-64:~# drm_info
Node: /dev/dri/card0
├───Driver: bochs-drm (bochs dispi vga interface (qemu stdvga)) version 1.0.0 (201309)
│   ├───DRM_CLIENT_CAP_STEREO_3D supported
│   ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
│   ├───DRM_CLIENT_CAP_ATOMIC supported
│   ├───DRM_CLIENT_CAP_ASPECT_RATIO supported
│   ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS supported
│   ├───DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT not supported
│   ├───DRM_CAP_DUMB_BUFFER = 1
│   ├───DRM_CAP_VBLANK_HIGH_CRTC = 1
│   ├───DRM_CAP_DUMB_PREFERRED_DEPTH = 24
│   ├───DRM_CAP_DUMB_PREFER_SHADOW = 0
│   ├───DRM_CAP_PRIME = 3
│   ├───DRM_CAP_TIMESTAMP_MONOTONIC = 1
│   ├───DRM_CAP_ASYNC_PAGE_FLIP = 0
│   ├───DRM_CAP_CURSOR_WIDTH = 64
│   ├───DRM_CAP_CURSOR_HEIGHT = 64
│   ├───DRM_CAP_ADDFB2_MODIFIERS = 1
│   ├───DRM_CAP_PAGE_FLIP_TARGET = 0
│   ├───DRM_CAP_CRTC_IN_VBLANK_EVENT = 1
│   ├───DRM_CAP_SYNCOBJ = 0
│   ├───DRM_CAP_SYNCOBJ_TIMELINE = 0
│   └───DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP = 0
├───Device: PCI 1234:1111
│   └───Available nodes: primary
├───Framebuffer size
│   ├───Width: [0, 8192]
│   └───Height: [0, 8192]
├───Connectors
│   └───Connector 0
│       ├───Object ID: 32
│       ├───Type: virtual
│       ├───Status: connected
│       ├───Physical size: 320×200 mm
│       ├───Subpixel: unknown
│       ├───Encoders: {0}
│       ├───Modes
│       │   ├───1280×[email protected] preferred driver nhsync nvsync
│       │   ├───1920×[email protected] driver nhsync nvsync
│       │   ├───1920×[email protected] driver phsync pvsync 16:9
│       │   ├───1600×[email protected] driver phsync pvsync
│       │   ├───1680×[email protected] driver nhsync pvsync
│       │   ├───1400×[email protected] driver nhsync pvsync
│       │   ├───1280×[email protected] driver phsync pvsync
│       │   ├───1440×[email protected] driver nhsync pvsync
│       │   ├───1280×[email protected] driver phsync pvsync
│       │   ├───1360×[email protected] driver phsync pvsync
│       │   ├───1280×[email protected] driver nhsync pvsync
│       │   ├───1024×[email protected] driver nhsync nvsync
│       │   ├───800×[email protected] driver phsync pvsync
│       │   ├───640×[email protected] driver nhsync nvsync 4:3
│       │   └───640×[email protected] driver nhsync nvsync
│       └───Properties
│           ├───"DPMS": enum {On, Standby, Suspend, Off} = On
│           ├───"link-status": enum {Good, Bad} = Good
│           ├───"non-desktop" (immutable): range [0, 1] = 0
│           ├───"TILE" (immutable): blob = 0
│           ├───"CRTC_ID" (atomic): object CRTC = 36
│           └───"EDID" (immutable): blob = 33
├───Encoders
│   └───Encoder 0
│       ├───Object ID: 37
│       ├───Type: none
│       ├───CRTCS: {0}
│       └───Clones: {0}
├───CRTCs
│   └───CRTC 0
│       ├───Object ID: 36
│       ├───Legacy info
│       │   ├───Mode: 1280×[email protected] preferred driver nhsync nvsync
│       │   └───Gamma size: 0
│       └───Properties
│           ├───"ACTIVE" (atomic): range [0, 1] = 1
│           ├───"MODE_ID" (atomic): blob = 39
│           │   └───1280×[email protected] preferred driver nhsync nvsync
│           ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0
│           └───"VRR_ENABLED": range [0, 1] = 0
└───Planes
    └───Plane 0
        ├───Object ID: 34
        ├───CRTCs: {0}
        ├───Legacy info
        │   ├───FB ID: 38
        │   │   ├───Object ID: 38
        │   │   ├───Size: 1280×800
        │   │   ├───Format: XRGB8888 (0x34325258)
        │   │   ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
        │   │   └───Planes:
        │   │       └───Plane 0: offset = 0, pitch = 5120 bytes
        │   └───Formats:
        │       ├───XRGB8888 (0x34325258)
        │       └───BGRX8888 (0x34325842)
        └───Properties
            ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
            ├───"FB_ID" (atomic): object framebuffer = 38
            │   ├───Object ID: 38
            │   ├───Size: 1280×800
            │   ├───Format: XRGB8888 (0x34325258)
            │   ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
            │   └───Planes:
            │       └───Plane 0: offset = 0, pitch = 5120 bytes
            ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1
            ├───"CRTC_ID" (atomic): object CRTC = 36
            ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0
            ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0
            ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 1280
            ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 800
            ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0
            ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0
            ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 1280
            ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 800
            └───"IN_FORMATS" (immutable): blob = 35
                └───DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
                    ├───XRGB8888 (0x34325258)
                    └───BGRX8888 (0x34325842)

It is basically a dump with information about DRM devices.

Quoted 91 lines

Alex

Quoted 86 lines · Hiago De Franco

Hi Alexander,

Quoted 1 line · Alexander Kanavin

Should this go to meta-oe rather? Why core?

I was not 100% sure, I just selected here because I saw the recipe for 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if openembedded-core is not the correct place. Please let me know.

Quoted 9 lines

Alex

Quoted 3 lines · Hiago De Franco via lists.openembedded.org

From: Hiago De Franco <[email protected]>

This recipe provides information about DRM devices, useful for

debugging

Quoted 29 lines
Quoted 15 lines

and checking information about DRM.

---
 meta/conf/distro/include/maintainers.inc    |  1 +
 meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb
meta/conf/distro/include/maintainers.inc +0 -0
index 7aafa7a2d146..2c2779f8cf83 100644
@@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi
Quoted 4 lines

Zhao <[email protected]>"
RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dpkg = "Unassigned <[email protected]

"

Quoted 9 lines

+RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < [email protected]>"
RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <[email protected]>" RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin <
[email protected]>"

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +0 -0
new file mode 100644
Quoted 8 lines

meta/recipes-graphics/drm/drm-info_2.7.0.bb line 4

Quoted 8 lines

index 000000000000..9f1cbb47fbfd

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +4 -0
@@ -0,0 +1,13 @@
+SUMMARY = "Small utility to dump info about DRM devices"
+HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"

Quoted 3 lines

meta/recipes-graphics/drm/drm-info_2.7.0.bb line 6

Quoted 3 lines
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +2 -0
+
+SRC_URI = "git://

gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https"

Quoted 8 lines
Quoted 8 lines
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +7 -0
+SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+DEPENDS = "json-c libdrm"
Quoted 7 lines
Quoted 7 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#206628):
https://lists.openembedded.org/g/openembedded-core/message/206628
Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub

[

Quoted 4 lines
Quoted 4 lines

[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Regards,

Hiago.

Regards,

Hiago.

#6 lore raw
Quoted 2 lines · Alexander Kanavin

Thanks, this does seem useful. I'd want input from people actively working with graphics, but not sure who to ask.

Maybe Wang Mingyu could also comment here? I am not sure.

Quoted 224 lines

Alex

Quoted 220 lines · Hiago De Franco
Quoted 1 line · Alexander Kanavin

Perhaps you can show what the tool outputs?

Sure, here is the output for qemu x86-64:

root@qemux86-64:~# drm_info
Node: /dev/dri/card0
├───Driver: bochs-drm (bochs dispi vga interface (qemu stdvga)) version 1.0.0 (201309)
│   ├───DRM_CLIENT_CAP_STEREO_3D supported
│   ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
│   ├───DRM_CLIENT_CAP_ATOMIC supported
│   ├───DRM_CLIENT_CAP_ASPECT_RATIO supported
│   ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS supported
│   ├───DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT not supported
│   ├───DRM_CAP_DUMB_BUFFER = 1
│   ├───DRM_CAP_VBLANK_HIGH_CRTC = 1
│   ├───DRM_CAP_DUMB_PREFERRED_DEPTH = 24
│   ├───DRM_CAP_DUMB_PREFER_SHADOW = 0
│   ├───DRM_CAP_PRIME = 3
│   ├───DRM_CAP_TIMESTAMP_MONOTONIC = 1
│   ├───DRM_CAP_ASYNC_PAGE_FLIP = 0
│   ├───DRM_CAP_CURSOR_WIDTH = 64
│   ├───DRM_CAP_CURSOR_HEIGHT = 64
│   ├───DRM_CAP_ADDFB2_MODIFIERS = 1
│   ├───DRM_CAP_PAGE_FLIP_TARGET = 0
│   ├───DRM_CAP_CRTC_IN_VBLANK_EVENT = 1
│   ├───DRM_CAP_SYNCOBJ = 0
│   ├───DRM_CAP_SYNCOBJ_TIMELINE = 0
│   └───DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP = 0
├───Device: PCI 1234:1111
│   └───Available nodes: primary
├───Framebuffer size
│   ├───Width: [0, 8192]
│   └───Height: [0, 8192]
├───Connectors
│   └───Connector 0
│       ├───Object ID: 32
│       ├───Type: virtual
│       ├───Status: connected
│       ├───Physical size: 320×200 mm
│       ├───Subpixel: unknown
│       ├───Encoders: {0}
│       ├───Modes
│       │   ├───1280×[email protected] preferred driver nhsync nvsync
│       │   ├───1920×[email protected] driver nhsync nvsync
│       │   ├───1920×[email protected] driver phsync pvsync 16:9
│       │   ├───1600×[email protected] driver phsync pvsync
│       │   ├───1680×[email protected] driver nhsync pvsync
│       │   ├───1400×[email protected] driver nhsync pvsync
│       │   ├───1280×[email protected] driver phsync pvsync
│       │   ├───1440×[email protected] driver nhsync pvsync
│       │   ├───1280×[email protected] driver phsync pvsync
│       │   ├───1360×[email protected] driver phsync pvsync
│       │   ├───1280×[email protected] driver nhsync pvsync
│       │   ├───1024×[email protected] driver nhsync nvsync
│       │   ├───800×[email protected] driver phsync pvsync
│       │   ├───640×[email protected] driver nhsync nvsync 4:3
│       │   └───640×[email protected] driver nhsync nvsync
│       └───Properties
│           ├───"DPMS": enum {On, Standby, Suspend, Off} = On
│           ├───"link-status": enum {Good, Bad} = Good
│           ├───"non-desktop" (immutable): range [0, 1] = 0
│           ├───"TILE" (immutable): blob = 0
│           ├───"CRTC_ID" (atomic): object CRTC = 36
│           └───"EDID" (immutable): blob = 33
├───Encoders
│   └───Encoder 0
│       ├───Object ID: 37
│       ├───Type: none
│       ├───CRTCS: {0}
│       └───Clones: {0}
├───CRTCs
│   └───CRTC 0
│       ├───Object ID: 36
│       ├───Legacy info
│       │   ├───Mode: 1280×[email protected] preferred driver nhsync nvsync
│       │   └───Gamma size: 0
│       └───Properties
│           ├───"ACTIVE" (atomic): range [0, 1] = 1
│           ├───"MODE_ID" (atomic): blob = 39
│           │   └───1280×[email protected] preferred driver nhsync nvsync
│           ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0
│           └───"VRR_ENABLED": range [0, 1] = 0
└───Planes
    └───Plane 0
        ├───Object ID: 34
        ├───CRTCs: {0}
        ├───Legacy info
        │   ├───FB ID: 38
        │   │   ├───Object ID: 38
        │   │   ├───Size: 1280×800
        │   │   ├───Format: XRGB8888 (0x34325258)
        │   │   ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
        │   │   └───Planes:
        │   │       └───Plane 0: offset = 0, pitch = 5120 bytes
        │   └───Formats:
        │       ├───XRGB8888 (0x34325258)
        │       └───BGRX8888 (0x34325842)
        └───Properties
            ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
            ├───"FB_ID" (atomic): object framebuffer = 38
            │   ├───Object ID: 38
            │   ├───Size: 1280×800
            │   ├───Format: XRGB8888 (0x34325258)
            │   ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
            │   └───Planes:
            │       └───Plane 0: offset = 0, pitch = 5120 bytes
            ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1
            ├───"CRTC_ID" (atomic): object CRTC = 36
            ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0
            ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0
            ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 1280
            ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 800
            ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0
            ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0
            ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 1280
            ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 800
            └───"IN_FORMATS" (immutable): blob = 35
                └───DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
                    ├───XRGB8888 (0x34325258)
                    └───BGRX8888 (0x34325842)

It is basically a dump with information about DRM devices.

Quoted 91 lines

Alex

Quoted 86 lines · Hiago De Franco

Hi Alexander,

Quoted 1 line · Alexander Kanavin

Should this go to meta-oe rather? Why core?

I was not 100% sure, I just selected here because I saw the recipe for 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if openembedded-core is not the correct place. Please let me know.

Quoted 9 lines

Alex

Quoted 3 lines · Hiago De Franco via lists.openembedded.org

From: Hiago De Franco <[email protected]>

This recipe provides information about DRM devices, useful for

debugging

Quoted 29 lines
Quoted 15 lines

and checking information about DRM.

---
 meta/conf/distro/include/maintainers.inc    |  1 +
 meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb
meta/conf/distro/include/maintainers.inc +0 -0
index 7aafa7a2d146..2c2779f8cf83 100644
@@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi
Quoted 4 lines

Zhao <[email protected]>"
RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dpkg = "Unassigned <[email protected]

"

Quoted 9 lines

+RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < [email protected]>"
RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <[email protected]>" RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin <
[email protected]>"

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +0 -0
new file mode 100644
Quoted 8 lines

meta/recipes-graphics/drm/drm-info_2.7.0.bb line 4

Quoted 8 lines

index 000000000000..9f1cbb47fbfd

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +4 -0
@@ -0,0 +1,13 @@
+SUMMARY = "Small utility to dump info about DRM devices"
+HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"

Quoted 3 lines

meta/recipes-graphics/drm/drm-info_2.7.0.bb line 6

Quoted 3 lines
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +2 -0
+
+SRC_URI = "git://

gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https"

Quoted 8 lines
Quoted 8 lines
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +7 -0
+SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+DEPENDS = "json-c libdrm"
Quoted 7 lines
Quoted 7 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#206628):
https://lists.openembedded.org/g/openembedded-core/message/206628
Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub

[

Quoted 4 lines
Quoted 4 lines

[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Regards,

Hiago.

Regards,

Hiago.

Regards,

Hiago.

#7 lore raw
Quoted 5 lines · Hiago De Franco
Quoted 2 lines · Alexander Kanavin

Thanks, this does seem useful. I'd want input from people actively working with graphics, but not sure who to ask.

Maybe Wang Mingyu could also comment here? I am not sure.

After checking more closely, this recipe should go to meta-oe instead. I will send a proper patch to meta-oe, please do not merge this one into oe-core. Sorry about the noise.

Quoted 222 lines
Quoted 222 lines

Alex

Quoted 217 lines · Hiago De Franco
Quoted 1 line · Alexander Kanavin

Perhaps you can show what the tool outputs?

Sure, here is the output for qemu x86-64:

root@qemux86-64:~# drm_info
Node: /dev/dri/card0
├───Driver: bochs-drm (bochs dispi vga interface (qemu stdvga)) version 1.0.0 (201309)
│   ├───DRM_CLIENT_CAP_STEREO_3D supported
│   ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
│   ├───DRM_CLIENT_CAP_ATOMIC supported
│   ├───DRM_CLIENT_CAP_ASPECT_RATIO supported
│   ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS supported
│   ├───DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT not supported
│   ├───DRM_CAP_DUMB_BUFFER = 1
│   ├───DRM_CAP_VBLANK_HIGH_CRTC = 1
│   ├───DRM_CAP_DUMB_PREFERRED_DEPTH = 24
│   ├───DRM_CAP_DUMB_PREFER_SHADOW = 0
│   ├───DRM_CAP_PRIME = 3
│   ├───DRM_CAP_TIMESTAMP_MONOTONIC = 1
│   ├───DRM_CAP_ASYNC_PAGE_FLIP = 0
│   ├───DRM_CAP_CURSOR_WIDTH = 64
│   ├───DRM_CAP_CURSOR_HEIGHT = 64
│   ├───DRM_CAP_ADDFB2_MODIFIERS = 1
│   ├───DRM_CAP_PAGE_FLIP_TARGET = 0
│   ├───DRM_CAP_CRTC_IN_VBLANK_EVENT = 1
│   ├───DRM_CAP_SYNCOBJ = 0
│   ├───DRM_CAP_SYNCOBJ_TIMELINE = 0
│   └───DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP = 0
├───Device: PCI 1234:1111
│   └───Available nodes: primary
├───Framebuffer size
│   ├───Width: [0, 8192]
│   └───Height: [0, 8192]
├───Connectors
│   └───Connector 0
│       ├───Object ID: 32
│       ├───Type: virtual
│       ├───Status: connected
│       ├───Physical size: 320×200 mm
│       ├───Subpixel: unknown
│       ├───Encoders: {0}
│       ├───Modes
│       │   ├───1280×[email protected] preferred driver nhsync nvsync
│       │   ├───1920×[email protected] driver nhsync nvsync
│       │   ├───1920×[email protected] driver phsync pvsync 16:9
│       │   ├───1600×[email protected] driver phsync pvsync
│       │   ├───1680×[email protected] driver nhsync pvsync
│       │   ├───1400×[email protected] driver nhsync pvsync
│       │   ├───1280×[email protected] driver phsync pvsync
│       │   ├───1440×[email protected] driver nhsync pvsync
│       │   ├───1280×[email protected] driver phsync pvsync
│       │   ├───1360×[email protected] driver phsync pvsync
│       │   ├───1280×[email protected] driver nhsync pvsync
│       │   ├───1024×[email protected] driver nhsync nvsync
│       │   ├───800×[email protected] driver phsync pvsync
│       │   ├───640×[email protected] driver nhsync nvsync 4:3
│       │   └───640×[email protected] driver nhsync nvsync
│       └───Properties
│           ├───"DPMS": enum {On, Standby, Suspend, Off} = On
│           ├───"link-status": enum {Good, Bad} = Good
│           ├───"non-desktop" (immutable): range [0, 1] = 0
│           ├───"TILE" (immutable): blob = 0
│           ├───"CRTC_ID" (atomic): object CRTC = 36
│           └───"EDID" (immutable): blob = 33
├───Encoders
│   └───Encoder 0
│       ├───Object ID: 37
│       ├───Type: none
│       ├───CRTCS: {0}
│       └───Clones: {0}
├───CRTCs
│   └───CRTC 0
│       ├───Object ID: 36
│       ├───Legacy info
│       │   ├───Mode: 1280×[email protected] preferred driver nhsync nvsync
│       │   └───Gamma size: 0
│       └───Properties
│           ├───"ACTIVE" (atomic): range [0, 1] = 1
│           ├───"MODE_ID" (atomic): blob = 39
│           │   └───1280×[email protected] preferred driver nhsync nvsync
│           ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0
│           └───"VRR_ENABLED": range [0, 1] = 0
└───Planes
    └───Plane 0
        ├───Object ID: 34
        ├───CRTCs: {0}
        ├───Legacy info
        │   ├───FB ID: 38
        │   │   ├───Object ID: 38
        │   │   ├───Size: 1280×800
        │   │   ├───Format: XRGB8888 (0x34325258)
        │   │   ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
        │   │   └───Planes:
        │   │       └───Plane 0: offset = 0, pitch = 5120 bytes
        │   └───Formats:
        │       ├───XRGB8888 (0x34325258)
        │       └───BGRX8888 (0x34325842)
        └───Properties
            ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
            ├───"FB_ID" (atomic): object framebuffer = 38
            │   ├───Object ID: 38
            │   ├───Size: 1280×800
            │   ├───Format: XRGB8888 (0x34325258)
            │   ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
            │   └───Planes:
            │       └───Plane 0: offset = 0, pitch = 5120 bytes
            ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1
            ├───"CRTC_ID" (atomic): object CRTC = 36
            ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0
            ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0
            ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 1280
            ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 800
            ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0
            ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0
            ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 1280
            ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 800
            └───"IN_FORMATS" (immutable): blob = 35
                └───DRM_FORMAT_MOD_LINEAR (0x0000000000000000)
                    ├───XRGB8888 (0x34325258)
                    └───BGRX8888 (0x34325842)

It is basically a dump with information about DRM devices.

Quoted 91 lines

Alex

Quoted 86 lines · Hiago De Franco

Hi Alexander,

Quoted 1 line · Alexander Kanavin

Should this go to meta-oe rather? Why core?

I was not 100% sure, I just selected here because I saw the recipe for 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if openembedded-core is not the correct place. Please let me know.

Quoted 9 lines

Alex

Quoted 3 lines · Hiago De Franco via lists.openembedded.org

From: Hiago De Franco <[email protected]>

This recipe provides information about DRM devices, useful for

debugging

Quoted 29 lines
Quoted 15 lines

and checking information about DRM.

---
 meta/conf/distro/include/maintainers.inc    |  1 +
 meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb
meta/conf/distro/include/maintainers.inc +0 -0
index 7aafa7a2d146..2c2779f8cf83 100644
@@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi
Quoted 4 lines

Zhao <[email protected]>"
RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dpkg = "Unassigned <[email protected]

"

Quoted 9 lines

+RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < [email protected]>"
RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <[email protected]>" RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin <
[email protected]>"

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +0 -0
new file mode 100644
Quoted 8 lines

meta/recipes-graphics/drm/drm-info_2.7.0.bb line 4

Quoted 8 lines

index 000000000000..9f1cbb47fbfd

meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +4 -0
@@ -0,0 +1,13 @@
+SUMMARY = "Small utility to dump info about DRM devices"
+HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"

Quoted 3 lines

meta/recipes-graphics/drm/drm-info_2.7.0.bb line 6

Quoted 3 lines
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +2 -0
+
+SRC_URI = "git://

gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https"

Quoted 8 lines
Quoted 8 lines
meta/recipes-graphics/drm/drm-info_2.7.0.bb new file +7 -0
+SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+DEPENDS = "json-c libdrm"
Quoted 7 lines
Quoted 7 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#206628):
https://lists.openembedded.org/g/openembedded-core/message/206628
Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub

[

Quoted 4 lines
Quoted 4 lines

[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Regards,

Hiago.

Quoted 7 lines
Quoted 3 lines
Quoted 3 lines

Regards,

Hiago.

Regards,

Hiago.

Regards,

Hiago.