]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/msm/gpu: Check the status of registration to PM QoS
authorLukasz Luba <lukasz.luba@arm.com>
Fri, 18 Oct 2024 11:18:11 +0000 (12:18 +0100)
committerRob Clark <robdclark@chromium.org>
Sun, 27 Oct 2024 15:26:07 +0000 (08:26 -0700)
commit8f32ddd87e499ba6d2dc74ce30b6932baf1e1fc3
tree0d72cb55b2c70236dd17767981839d40c93ae253
parent394679f322649d06fea3c646ba65f5a0887f52c3
drm/msm/gpu: Check the status of registration to PM QoS

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 <lukasz.luba@arm.com>
Patchwork: https://patchwork.freedesktop.org/patch/620336/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_gpu_devfreq.c