Re: [PATCH] drm/msm/gpu: Check the status of registration to PM QoS

2024-10-18 Thread Lukasz Luba
On 10/18/24 13:02, Dmitry Baryshkov wrote: On Fri, Oct 18, 2024 at 12:18:11PM +0100, Lukasz Luba wrote: There is a need to check the returned value of the registration function. Why? The question can be: why this driver doesn't check errors from frameworks during the registration? Is it

Re: [PATCH] drm/msm/gpu: Check the status of registration to PM QoS

2024-10-18 Thread Dmitry Baryshkov
On Fri, Oct 18, 2024 at 12:18:11PM +0100, Lukasz Luba wrote: > There is a need to check the returned value of the registration function. Why? > In case of returned error, print that and stop the init process. > > Fixes: 7c0ffcd40b16 ("drm/msm/gpu: Respect PM QoS constraints") > Signed-off-by: Lu

[PATCH] drm/msm/gpu: Check the status of registration to PM QoS

2024-10-18 Thread Lukasz Luba
There is a need to check the returned value of the registration function. In case of returned error, print that and stop the init process. Fixes: 7c0ffcd40b16 ("drm/msm/gpu: Respect PM QoS constraints") Signed-off-by: Lukasz Luba --- drivers/gpu/drm/msm/msm_gpu_devfreq.c | 9 +++-- 1 file ch