diff options
| author | Matt Coster <matt.coster@imgtec.com> | 2025-11-21 15:20:31 +0000 |
|---|---|---|
| committer | Matt Coster <matt.coster@imgtec.com> | 2025-11-21 17:06:11 +0000 |
| commit | 83c53f1a2d6c4c8c19354b926367d0e82dcd6386 (patch) | |
| tree | 053de69f8ad9e2972b4023c13faa71598865a614 | |
| parent | d6732ef4ab252e5753be7acad87b0a91cfd06953 (diff) | |
| download | linux-83c53f1a2d6c4c8c19354b926367d0e82dcd6386.tar.gz | |
drm/imagination: Document pvr_device.power member
Automated testing caught this missing doc comment; add something suitable
(and useful).
Fixes: 330e76d31697 ("drm/imagination: Add power domain control")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/r/20251106152448.453b53ad@canb.auug.org.au/
Reviewed-by: Alessio Belle <alessio.belle@imgtec.com>
Link: https://patch.msgid.link/20251121-device-power-doc-fix-v2-1-3417779f36c7@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
| -rw-r--r-- | drivers/gpu/drm/imagination/pvr_device.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imagination/pvr_device.h b/drivers/gpu/drm/imagination/pvr_device.h index ab8f56ae15df6c..ec53ff27554180 100644 --- a/drivers/gpu/drm/imagination/pvr_device.h +++ b/drivers/gpu/drm/imagination/pvr_device.h @@ -146,6 +146,14 @@ struct pvr_device { */ struct clk *mem_clk; + /** + * @power: Optional power domain devices. + * + * On platforms with more than one power domain for the GPU, they are + * stored here in @domain_devs, along with links between them in + * @domain_links. The size of @domain_devs is given by @domain_count, + * while the size of @domain_links is (2 * @domain_count) - 1. + */ struct pvr_device_power { struct device **domain_devs; struct device_link **domain_links; |
