Get active crtc list
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xf86drmMode: add drmModeGetCrtcList() to enumerate available CRTCscore-symbols.txt xf86drmMode.c xf86drmMode.h | +163 | 0 replies | |
| 2/2 | tests/crtclist: add utility to inspect CRTC usagetests/ tests/ | +125 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH libdrm 0/2] Get active crtc list
drmModeGetResources() tells the system capability and not runtime availability of the hardware resource. DRM_IOCTL_MODE_GETCRTC only tells userspace which CRTCs are enabled through KMS, not which are active in hardware. A pipe can be actively scanning out without being enabled through the KMS state, so relying on GETCRTC alone would report such a CRTC as free and assignable when it is not.
Add new function drmModeGetCrtcList that enumerates the crtc list.
Arun R Murthy (2):
xf86drmMode: add drmModeGetCrtcList() to enumerate available CRTCs tests/crtclist: add utility to inspect CRTC usage
core-symbols.txt | 2 + tests/crtclist.c | 116 +++++++++++++++++++++++++++++++++++++++++++ tests/meson.build | 9 ++++ xf86drmMode.c | 123 ++++++++++++++++++++++++++++++++++++++++++++++ xf86drmMode.h | 38 ++++++++++++++ 5 files changed, 288 insertions(+) create mode 100644 tests/crtclist.c
Signature · 1 line
2.25.1