mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
Commit 90a64adb08 ("drm/v3d: Get rid of pm code") removed the last
bits of power management code that V3D had, which were actually never
hooked. Therefore, currently, the GPU clock is enabled during probe
and only disabled when removing the driver.
Implement proper power management using the kernel's Runtime PM
framework.
Reviewed-by: Melissa Wen <mwen@igalia.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260331-v3d-power-management-v9-3-f52ff87bfd36@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
24 lines
401 B
Makefile
24 lines
401 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Please keep these build lists sorted!
|
|
|
|
# core driver code
|
|
v3d-y := \
|
|
v3d_bo.o \
|
|
v3d_drv.o \
|
|
v3d_fence.o \
|
|
v3d_gem.o \
|
|
v3d_irq.o \
|
|
v3d_mmu.o \
|
|
v3d_perfmon.o \
|
|
v3d_power.o \
|
|
v3d_trace_points.o \
|
|
v3d_sched.o \
|
|
v3d_sysfs.o \
|
|
v3d_submit.o
|
|
|
|
v3d-$(CONFIG_DEBUG_FS) += v3d_debugfs.o
|
|
|
|
obj-$(CONFIG_DRM_V3D) += v3d.o
|
|
|
|
CFLAGS_v3d_trace_points.o := -I$(src)
|