drivers/gpu/drm/i915/display/intel_bo.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/display/intel_bo.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/display/intel_bo.h- Extension
.h- Size
- 1550 bytes
- Lines
- 43
- Domain
- Driver Families
- Bucket
- drivers/gpu
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct drm_filestruct drm_gem_objectstruct drm_mode_fb_cmd2struct drm_scanout_bufferstruct fb_infostruct i915_vmastruct intel_displaystruct intel_framebufferstruct seq_filestruct vm_area_struct
Annotated Snippet
#ifndef __INTEL_BO__
#define __INTEL_BO__
#include <linux/types.h>
struct drm_file;
struct drm_gem_object;
struct drm_mode_fb_cmd2;
struct drm_scanout_buffer;
struct fb_info;
struct i915_vma;
struct intel_display;
struct intel_framebuffer;
struct seq_file;
struct vm_area_struct;
bool intel_bo_is_tiled(struct drm_gem_object *obj);
bool intel_bo_is_userptr(struct drm_gem_object *obj);
bool intel_bo_is_shmem(struct drm_gem_object *obj);
bool intel_bo_is_protected(struct drm_gem_object *obj);
int intel_bo_key_check(struct drm_gem_object *obj);
int intel_bo_fb_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma);
int intel_bo_read_from_page(struct drm_gem_object *obj, u64 offset, void *dst, int size);
void intel_bo_describe(struct seq_file *m, struct drm_gem_object *obj);
void intel_bo_framebuffer_fini(struct drm_gem_object *obj);
int intel_bo_framebuffer_init(struct drm_gem_object *obj, struct drm_mode_fb_cmd2 *mode_cmd);
struct drm_gem_object *intel_bo_framebuffer_lookup(struct intel_display *display,
struct drm_file *filp,
const struct drm_mode_fb_cmd2 *user_mode_cmd);
u32 intel_bo_fbdev_pitch_align(struct intel_display *display, u32 stride);
struct drm_gem_object *intel_bo_fbdev_create(struct intel_display *display, int size);
void intel_bo_fbdev_destroy(struct drm_gem_object *obj);
int intel_bo_fbdev_fill_info(struct drm_gem_object *obj, struct fb_info *info,
struct i915_vma *vma);
#endif /* __INTEL_BO__ */
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct drm_file`, `struct drm_gem_object`, `struct drm_mode_fb_cmd2`, `struct drm_scanout_buffer`, `struct fb_info`, `struct i915_vma`, `struct intel_display`, `struct intel_framebuffer`, `struct seq_file`, `struct vm_area_struct`.
- Atlas domain: Driver Families / drivers/gpu.
- 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.