[PATCH v2 12/14] drm/msm/a6xx: Use "else if" in GPU speedbin rev matching
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Fri Feb 17 21:20:41 UTC 2023
On 14/02/2023 19:31, Konrad Dybcio wrote:
> The GPU can only be one at a time. Turn a series of ifs into if +
> elseifs to save some CPU cycles.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio at linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
> drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
--
With best wishes
Dmitry
More information about the dri-devel
mailing list