DRM_CLIENT_CAP_ASPECT_RATIO(9)
π DRM_CLIENT_CAP_ASPECT_RATIO π
okay so bestie, welcome to the Kernel API Manual page for DRM_CLIENT_CAP_ASPECT_RATIO β yes that's a whole mouthful, yes it's giving "my variable name is my personality", and yes we're gonna get through it together π«Ά
β¨ NAME β¨
DRM_CLIENT_CAP_ASPECT_RATIO β that's it, that's the name, the description slot is literally empty (iconic of it, honestly, it said "my name speaks for itself" π
)
πΈ SYNOPSIS πΈ
DRM_CLIENT_CAP_ASPECT_RATIO
no args, no drama, just the constant itself sitting there looking cute π
π¦ DESCRIPTION π¦
so here's the tea β β if you set this bad boy to 1, the DRM core will hand you aspect ratio information in modes. that's the whole vibe. the actual aspect ratio flags live over in DRM_MODE_FLAG_PIC_AR_*, so go peek at those if you want the details, iykyk π
and the best part? this capability is always supported for all drivers starting from kernel version 4.18 β¨ like no cap, every single driver from 4.18 onward, you don't gotta check, you don't gotta stress, it's just there. main character capability energy fr fr π
lowkey important: this only does anything if you actually set it to1β0means you're not asking for the aspect ratio info, and then don't come crying to me about missing aspect ratios π
π SEE ALSO π
okay this list is LONG long, so buckle up bestie, we're going shopping ποΈ β every single one of these is a real reference, don't skip:
- Kernel file
./tools/perf/trace/beauty/include/uapi/drm/drm.h struct drm_gem_close(9)struct drm_gem_flink(9)struct drm_gem_open(9)struct drm_gem_change_handle(9)DRM_CAP_DUMB_BUFFER(9)DRM_CAP_VBLANK_HIGH_CRTC(9)DRM_CAP_DUMB_PREFERRED_DEPTH(9)DRM_CAP_DUMB_PREFER_SHADOW(9)DRM_CAP_PRIME(9)DRM_PRIME_CAP_IMPORT(9)DRM_PRIME_CAP_EXPORT(9)DRM_CAP_TIMESTAMP_MONOTONIC(9)DRM_CAP_ASYNC_PAGE_FLIP(9)DRM_CAP_CURSOR_WIDTH(9)DRM_CAP_CURSOR_HEIGHT(9)DRM_CAP_ADDFB2_MODIFIERS(9)DRM_CAP_PAGE_FLIP_TARGET(9)DRM_CAP_CRTC_IN_VBLANK_EVENT(9)DRM_CAP_SYNCOBJ(9)DRM_CAP_SYNCOBJ_TIMELINE(9)DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP(9)DRM_CLIENT_CAP_STEREO_3D(9)DRM_CLIENT_CAP_UNIVERSAL_PLANES(9)DRM_CLIENT_CAP_ATOMIC(9)DRM_CLIENT_CAP_WRITEBACK_CONNECTORS(9)DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT(9)DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE(9)struct drm_syncobj_eventfd(9)DRM_IOCTL_GEM_CLOSE(9)DRM_IOCTL_PRIME_HANDLE_TO_FD(9)DRM_IOCTL_PRIME_FD_TO_HANDLE(9)DRM_IOCTL_MODE_RMFB(9)DRM_IOCTL_MODE_CREATE_DUMB(9)DRM_IOCTL_MODE_GETFB2(9)DRM_IOCTL_SYNCOBJ_EVENTFD(9)DRM_IOCTL_MODE_CLOSEFB(9)DRM_IOCTL_SET_CLIENT_NAME(9)DRM_IOCTL_GEM_CHANGE_HANDLE(9)struct drm_event(9)DRM_EVENT_VBLANK(9)DRM_EVENT_FLIP_COMPLETE(9)DRM_EVENT_CRTC_SEQUENCE(9)
and that's the whole page, bestie π§ you ate that. this cutie came from ./tools/perf/trace/beauty/inclβ¦ (slightly truncated in the original, so don't @ me π) and it's dated October 2026, filed under DRM_CLIENT_CAP_ASPECT_RATIO(9) β mwah, go forth and set your capability to 1 ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms