include/drm/intel/display_member.h
Source file repositories/reference/linux-study-clean/include/drm/intel/display_member.h
File Facts
- System
- Linux kernel
- Corpus path
include/drm/intel/display_member.h- Extension
.h- Size
- 1496 bytes
- Lines
- 43
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/build_bug.hlinux/stddef.hlinux/stringify.hdrm/drm_device.h
Detected Declarations
struct intel_displaystruct __intel_generic_device
Annotated Snippet
struct __intel_generic_device {
struct drm_device drm;
struct intel_display *display;
};
/**
* INTEL_DISPLAY_MEMBER_STATIC_ASSERT() - ensure correct placing of drm and display members
* @type: The struct to check
* @drm_member: Name of the struct drm_device member
* @display_member: Name of the struct intel_display * member.
*
* Use this static assert macro to ensure the struct drm_i915_private and struct
* xe_device struct drm_device and struct intel_display * members are at the
* same relative offsets.
*/
#define INTEL_DISPLAY_MEMBER_STATIC_ASSERT(type, drm_member, display_member) \
static_assert( \
offsetof(struct __intel_generic_device, display) - offsetof(struct __intel_generic_device, drm) == \
offsetof(type, display_member) - offsetof(type, drm_member), \
__stringify(type) " " __stringify(drm_member) " and " __stringify(display_member) " members at invalid offsets")
#endif
Annotation
- Immediate include surface: `linux/build_bug.h`, `linux/stddef.h`, `linux/stringify.h`, `drm/drm_device.h`.
- Detected declarations: `struct intel_display`, `struct __intel_generic_device`.
- Atlas domain: Repository Root And Misc / include.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.