Re: [PATCH 5/8] drm/etnaviv: avoid runtime PM usage in etnaviv_gpu_bind

2023-06-19 Thread Christian Gmeiner
Hi Lucas > > Nothing in this callpath actually touches the GPU, so there is no reason > to get it out of suspend state here. Only if runtime PM isn't enabled at > all we must make sure to enable the clocks, so the GPU init routine can > access the GPU later on. > > This also removes the need to

[PATCH 5/8] drm/etnaviv: avoid runtime PM usage in etnaviv_gpu_bind

2023-06-07 Thread Lucas Stach
Nothing in this callpath actually touches the GPU, so there is no reason to get it out of suspend state here. Only if runtime PM isn't enabled at all we must make sure to enable the clocks, so the GPU init routine can access the GPU later on. This also removes the need to guard against the state