~emersion/drmdb

ref: 14fa5198d01d3be7741268ce81f4e54dd89875e4 drmdb/drmtree/drmtree.go -rw-r--r-- 16.5 KiB
Render node trees in templates
Fix format/modifier pretty-printing
drmtree: use constant instead of hard-coding value for LINEAR
Fix bitmask pretty-printing

The kernel sets the enum values to the number of left shifts, the enum
values aren't bits we can use directly.

See for instance drm_plane_create_rotation_property [1].

[1]: https://cgit.freedesktop.org/drm-tip/tree/drivers/gpu/drm/drm_blend.c#n282
drmtree: handle USB devices

References: https://github.com/ascent12/drm_info/pull/49
drmtree: fix empty IN_FORMATS handling

Some drivers expose an empty IN_FORMATS prop (e.g. exynos).
Pretty-print enums spec
Add a property page
Use String helpers for modifiers and formats
Add formats page
Fix driver comparison
drmtree: slightly improve modifier pretty-printing
drmtree: pretty-print prop spec
drmtree: pretty-print type-specific property data
drmtree: print whether a prop is immutable/atomic
drmtree: sort maps in FormatTree
Add device page
drmtree: add kernel field
Next