drivers/gpu/drm/i915/display/intel_display_rpm.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/display/intel_display_rpm.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/display/intel_display_rpm.c- Extension
.c- Size
- 1649 bytes
- Lines
- 63
- 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
drm/intel/display_parent_interface.hintel_display_core.hintel_display_rpm.h
Detected Declarations
function intel_display_rpm_put_rawfunction intel_display_rpm_putfunction intel_display_rpm_put_uncheckedfunction intel_display_rpm_suspendedfunction assert_display_rpm_heldfunction intel_display_rpm_assert_blockfunction intel_display_rpm_assert_unblock
Annotated Snippet
// SPDX-License-Identifier: MIT
/* Copyright © 2025 Intel Corporation */
#include <drm/intel/display_parent_interface.h>
#include "intel_display_core.h"
#include "intel_display_rpm.h"
struct ref_tracker *intel_display_rpm_get_raw(struct intel_display *display)
{
return display->parent->rpm->get_raw(display->drm);
}
void intel_display_rpm_put_raw(struct intel_display *display, struct ref_tracker *wakeref)
{
display->parent->rpm->put_raw(display->drm, wakeref);
}
struct ref_tracker *intel_display_rpm_get(struct intel_display *display)
{
return display->parent->rpm->get(display->drm);
}
struct ref_tracker *intel_display_rpm_get_if_in_use(struct intel_display *display)
{
return display->parent->rpm->get_if_in_use(display->drm);
}
struct ref_tracker *intel_display_rpm_get_noresume(struct intel_display *display)
{
return display->parent->rpm->get_noresume(display->drm);
}
void intel_display_rpm_put(struct intel_display *display, struct ref_tracker *wakeref)
{
display->parent->rpm->put(display->drm, wakeref);
}
void intel_display_rpm_put_unchecked(struct intel_display *display)
{
display->parent->rpm->put_unchecked(display->drm);
}
bool intel_display_rpm_suspended(struct intel_display *display)
{
return display->parent->rpm->suspended(display->drm);
}
void assert_display_rpm_held(struct intel_display *display)
{
display->parent->rpm->assert_held(display->drm);
}
void intel_display_rpm_assert_block(struct intel_display *display)
{
display->parent->rpm->assert_block(display->drm);
}
void intel_display_rpm_assert_unblock(struct intel_display *display)
{
display->parent->rpm->assert_unblock(display->drm);
}
Annotation
- Immediate include surface: `drm/intel/display_parent_interface.h`, `intel_display_core.h`, `intel_display_rpm.h`.
- Detected declarations: `function intel_display_rpm_put_raw`, `function intel_display_rpm_put`, `function intel_display_rpm_put_unchecked`, `function intel_display_rpm_suspended`, `function assert_display_rpm_held`, `function intel_display_rpm_assert_block`, `function intel_display_rpm_assert_unblock`.
- 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.