drivers/gpu/drm/i915/display/intel_display_wa.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/display/intel_display_wa.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/display/intel_display_wa.h- Extension
.h- Size
- 1910 bytes
- Lines
- 72
- 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 intel_displayenum intel_display_wafunction intel_display_needs_wa_16023588340
Annotated Snippet
#ifndef __INTEL_DISPLAY_WA_H__
#define __INTEL_DISPLAY_WA_H__
#include <linux/types.h>
struct intel_display;
void intel_display_wa_apply(struct intel_display *display);
#ifdef I915
static inline bool intel_display_needs_wa_16023588340(struct intel_display *display)
{
return false;
}
#else
bool intel_display_needs_wa_16023588340(struct intel_display *display);
#endif
/*
* This enum lists display workarounds; each entry here must have a
* corresponding case in __intel_display_wa(). Keep both sorted by lineage
* number.
*/
enum intel_display_wa {
INTEL_DISPLAY_WA_1409120013,
INTEL_DISPLAY_WA_1409767108,
INTEL_DISPLAY_WA_13012396614,
INTEL_DISPLAY_WA_14010477008,
INTEL_DISPLAY_WA_14010480278,
INTEL_DISPLAY_WA_14010547955,
INTEL_DISPLAY_WA_14010685332,
INTEL_DISPLAY_WA_14011294188,
INTEL_DISPLAY_WA_14011503030,
INTEL_DISPLAY_WA_14011503117,
INTEL_DISPLAY_WA_14011508470,
INTEL_DISPLAY_WA_14011765242,
INTEL_DISPLAY_WA_14014143976,
INTEL_DISPLAY_WA_14016740474,
INTEL_DISPLAY_WA_14020863754,
INTEL_DISPLAY_WA_14025769978,
INTEL_DISPLAY_WA_15013987218,
INTEL_DISPLAY_WA_15018326506,
INTEL_DISPLAY_WA_16011181250,
INTEL_DISPLAY_WA_16011303918,
INTEL_DISPLAY_WA_16011342517,
INTEL_DISPLAY_WA_16011863758,
INTEL_DISPLAY_WA_16023588340,
INTEL_DISPLAY_WA_16025573575,
INTEL_DISPLAY_WA_16025596647,
INTEL_DISPLAY_WA_16029024088,
INTEL_DISPLAY_WA_18034343758,
INTEL_DISPLAY_WA_22010178259,
INTEL_DISPLAY_WA_22010947358,
INTEL_DISPLAY_WA_22011320316,
INTEL_DISPLAY_WA_22012278275,
INTEL_DISPLAY_WA_22012358565,
INTEL_DISPLAY_WA_22014263786,
INTEL_DISPLAY_WA_22021048059,
};
bool __intel_display_wa(struct intel_display *display, enum intel_display_wa wa, const char *name);
#define intel_display_wa(__display, __wa) \
__intel_display_wa((__display), __wa, __stringify(__wa))
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct intel_display`, `enum intel_display_wa`, `function intel_display_needs_wa_16023588340`.
- 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.