[PATCH] gpu: host1x: Fix boot regression for Tegra
Thierry Reding
thierry.reding at gmail.com
Wed Sep 25 19:26:42 UTC 2024
On Wed, Sep 25, 2024 at 05:05:04PM GMT, Jon Hunter wrote:
> Commit 4c27ac45e622 ("gpu: host1x: Request syncpoint IRQs only during
> probe") caused a boot regression for the Tegra186 device. Following this
> update the function host1x_intr_init() now calls
> host1x_hw_intr_disable_all_syncpt_intrs() during probe. However,
> host1x_intr_init() is called before runtime power-management is enabled
> for Host1x and the function host1x_hw_intr_disable_all_syncpt_intrs() is
> accessing hardware registers. So if the Host1x hardware is not enabled
> prior to probing then the device will now hang on attempting to access
> the registers. So far this is only observed on Tegra186, but potentially
> could be seen on other devices.
>
> Fix this by moving the call to the function host1x_intr_init() in probe
> to after enabling the runtime power-management in the probe and update
> the failure path in probe as necessary.
>
> Fixes: 4c27ac45e622 ("gpu: host1x: Request syncpoint IRQs only during probe")
> Signed-off-by: Jon Hunter <jonathanh at nvidia.com>
> ---
> drivers/gpu/host1x/dev.c | 18 ++++++++----------
> 1 file changed, 8 insertions(+), 10 deletions(-)
Applied, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240925/858862c2/attachment.sig>
More information about the dri-devel
mailing list