include/uapi/drm/tegra_drm.h
Source file repositories/reference/linux-study-clean/include/uapi/drm/tegra_drm.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/drm/tegra_drm.h- Extension
.h- Size
- 22126 bytes
- Lines
- 1077
- 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
drm.h
Detected Declarations
struct drm_tegra_gem_createstruct drm_tegra_gem_mmapstruct drm_tegra_syncpt_readstruct drm_tegra_syncpt_incrstruct drm_tegra_syncpt_waitstruct drm_tegra_open_channelstruct drm_tegra_close_channelstruct drm_tegra_get_syncptstruct drm_tegra_get_syncpt_basestruct drm_tegra_syncptstruct drm_tegra_cmdbufstruct drm_tegra_relocstruct drm_tegra_waitchkstruct drm_tegra_submitstruct drm_tegra_gem_set_tilingstruct drm_tegra_gem_get_tilingstruct drm_tegra_gem_set_flagsstruct drm_tegra_gem_get_flagsstruct drm_tegra_channel_openstruct drm_tegra_channel_closestruct drm_tegra_channel_mapstruct drm_tegra_channel_unmapstruct drm_tegra_submit_bufstruct drm_tegra_submit_cmd_gather_uptrstruct drm_tegra_submit_cmd_wait_syncptstruct drm_tegra_submit_cmdstruct drm_tegra_submit_syncptstruct drm_tegra_channel_submitstruct drm_tegra_syncpoint_allocatestruct drm_tegra_syncpoint_freestruct drm_tegra_syncpoint_wait
Annotated Snippet
struct drm_tegra_gem_create {
/**
* @size:
*
* The size, in bytes, of the buffer object to be created.
*/
__u64 size;
/**
* @flags:
*
* A bitmask of flags that influence the creation of GEM objects:
*
* DRM_TEGRA_GEM_CREATE_TILED
* Use the 16x16 tiling format for this buffer.
*
* DRM_TEGRA_GEM_CREATE_BOTTOM_UP
* The buffer has a bottom-up layout.
*/
__u32 flags;
/**
* @handle:
*
* The handle of the created GEM object. Set by the kernel upon
* successful completion of the IOCTL.
*/
__u32 handle;
};
/**
* struct drm_tegra_gem_mmap - parameters for the GEM mmap IOCTL
*/
struct drm_tegra_gem_mmap {
/**
* @handle:
*
* Handle of the GEM object to obtain an mmap offset for.
*/
__u32 handle;
/**
* @pad:
*
* Structure padding that may be used in the future. Must be 0.
*/
__u32 pad;
/**
* @offset:
*
* The mmap offset for the given GEM object. Set by the kernel upon
* successful completion of the IOCTL.
*/
__u64 offset;
};
/**
* struct drm_tegra_syncpt_read - parameters for the read syncpoint IOCTL
*/
struct drm_tegra_syncpt_read {
/**
* @id:
*
* ID of the syncpoint to read the current value from.
*/
__u32 id;
/**
* @value:
*
* The current syncpoint value. Set by the kernel upon successful
* completion of the IOCTL.
*/
__u32 value;
};
/**
* struct drm_tegra_syncpt_incr - parameters for the increment syncpoint IOCTL
*/
struct drm_tegra_syncpt_incr {
/**
* @id:
*
* ID of the syncpoint to increment.
*/
__u32 id;
/**
* @pad:
Annotation
- Immediate include surface: `drm.h`.
- Detected declarations: `struct drm_tegra_gem_create`, `struct drm_tegra_gem_mmap`, `struct drm_tegra_syncpt_read`, `struct drm_tegra_syncpt_incr`, `struct drm_tegra_syncpt_wait`, `struct drm_tegra_open_channel`, `struct drm_tegra_close_channel`, `struct drm_tegra_get_syncpt`, `struct drm_tegra_get_syncpt_base`, `struct drm_tegra_syncpt`.
- 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.