]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/imagination: Use dev_pm_domain_attach_list()
authorMatt Coster <matt.coster@imgtec.com>
Fri, 23 Jan 2026 14:44:50 +0000 (14:44 +0000)
committerMatt Coster <matt.coster@imgtec.com>
Fri, 6 Feb 2026 10:18:30 +0000 (10:18 +0000)
commite19cc5ab347e3cdcc21c97ea5d11af8da7f1358d
tree67c228aa273ddd57c926615f34ccb3f933579824
parent55473b60178060a4fdb4631bd0c91879cc7d18d8
drm/imagination: Use dev_pm_domain_attach_list()

This helper handles the attaching and linking of the entire list of power
domains. Besides making pvr_power_domains_init() simpler, this also lays
the groundwork to simplify supporting the varied power domain names used in
Volcanic GPU cores.

Note that we still need to create the links between power domains to ensure
they're brought up in a valid sequence.

Reviewed-by: Alessio Belle <alessio.belle@imgtec.com>
Link: https://patch.msgid.link/20260123-pm-domain-attach-list-v1-1-d51dd7e43253@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
drivers/gpu/drm/imagination/pvr_device.h
drivers/gpu/drm/imagination/pvr_power.c