Re: [PATCH] drm/imagination: Optionally depend on POWER_SEQUENCING

From: Matt Coster
Date: Mon Nov 03 2025 - 05:36:18 EST


On 14/10/2025 12:57, Matt Coster wrote:
> When the change using pwrseq was added, I nixed the dependency on
> POWER_SEQUENCING since we didn't want it pulled in on platforms where
> it's not needed [1]. I hadn't, however, considered the link-time
> implications of this for configs with POWER_SEQUENCING=m.
>
> [1]: https://lore.kernel.org/r/a265a20e-8908-40d8-b4e0-2c8b8f773742@xxxxxxxxxx/
>
> Fixes: e38e8391f30b ("drm/imagination: Use pwrseq for TH1520 GPU power management")
> Cc: stable@xxxxxxxxxxxxxxx
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202510111806.CMulNMKW-lkp@xxxxxxxxx/

There's been another automated report of the same bug since this patch
went out, so adding:

Closes: https://lore.kernel.org/oe-kbuild-all/202511011739.SONHjSfR-lkp@xxxxxxxxx/

Cheers,
Matt

> Signed-off-by: Matt Coster <matt.coster@xxxxxxxxxx>
> ---
> drivers/gpu/drm/imagination/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/imagination/Kconfig b/drivers/gpu/drm/imagination/Kconfig
> index 3bfa2ac212dc..7e7ffb9c2257 100644
> --- a/drivers/gpu/drm/imagination/Kconfig
> +++ b/drivers/gpu/drm/imagination/Kconfig
> @@ -6,6 +6,7 @@ config DRM_POWERVR
> depends on ARM64
> depends on DRM
> depends on PM
> + depends on POWER_SEQUENCING || !POWER_SEQUENCING
> select DRM_EXEC
> select DRM_GEM_SHMEM_HELPER
> select DRM_SCHED
>
> ---
> base-commit: db74b04edce1bc86b9a5acc724c7ca06f427ab60
> change-id: 20251013-pwrseq-dep-0c158ad8029c
>

--
Matt Coster
E: matt.coster@xxxxxxxxxx

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature