Skip to content

Commit 83c53f1

Browse files
committed
drm/imagination: Document pvr_device.power member
Automated testing caught this missing doc comment; add something suitable (and useful). Fixes: 330e76d ("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>
1 parent d6732ef commit 83c53f1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/gpu/drm/imagination/pvr_device.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,14 @@ struct pvr_device {
146146
*/
147147
struct clk *mem_clk;
148148

149+
/**
150+
* @power: Optional power domain devices.
151+
*
152+
* On platforms with more than one power domain for the GPU, they are
153+
* stored here in @domain_devs, along with links between them in
154+
* @domain_links. The size of @domain_devs is given by @domain_count,
155+
* while the size of @domain_links is (2 * @domain_count) - 1.
156+
*/
149157
struct pvr_device_power {
150158
struct device **domain_devs;
151159
struct device_link **domain_links;

0 commit comments

Comments
 (0)