]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/imagination: Ensure struct pvr_device->power is initialized
authorMatt Coster <matt.coster@imgtec.com>
Fri, 27 Feb 2026 14:12:49 +0000 (14:12 +0000)
committerMatt Coster <matt.coster@imgtec.com>
Wed, 4 Mar 2026 09:56:22 +0000 (09:56 +0000)
commit144d47f9053634a9587c4ce217c8d7672934f38d
treea73fc08b009633ba09e087051db9d2c8bde8bedb
parent218ea788a69308008c233381605a4b18cc140a5e
drm/imagination: Ensure struct pvr_device->power is initialized

When pvr_power_domains_init() handles <=1 power domains, the content of
struct pvr_device->power was previously left uninitialized.

Fixes: e19cc5ab347e3 ("drm/imagination: Use dev_pm_domain_attach_list()")
Reviewed-by: Alessio Belle <alessio.belle@imgtec.com>
Link: https://patch.msgid.link/20260227-single-domain-power-fixes-v1-3-d37ba0825f7c@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
drivers/gpu/drm/imagination/pvr_power.c