Re: Re: [PATCH] drm/etnaviv: Add missing pm_runtime_put

2022-01-19 Thread 刘永志
top.org, linux-ker...@vger.kernel.org > 主题: Re: [PATCH] drm/etnaviv: Add missing pm_runtime_put > > Am Dienstag, dem 18.01.2022 um 06:16 -0800 schrieb Yongzhi Liu: > > pm_runtime_get_sync() increments the runtime PM usage counter even > > when it returns an error code, thus a

Re: [PATCH] drm/etnaviv: Add missing pm_runtime_put

2022-01-19 Thread Lucas Stach
Am Dienstag, dem 18.01.2022 um 06:16 -0800 schrieb Yongzhi Liu: > pm_runtime_get_sync() increments the runtime PM usage counter even > when it returns an error code, thus a matching decrement is needed > on the error handling path to keep the counter balanced. > Instead of adding more error handli

[PATCH] drm/etnaviv: Add missing pm_runtime_put

2022-01-18 Thread Yongzhi Liu
pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, thus a matching decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Yongzhi Liu --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 3 +++ 1 file changed, 3 insertion