Files
linux-cryptodev-2.6/drivers/gpu/drm/msm/adreno
Dan Carpenter aaa743d838 drm/msm/adreno: fix cast in adreno_get_param()
These casts need to happen before the shift.  The only time it would
matter would be if "rev.core" is >= 128.  In that case the sign bit
would be extended and we do not want that.

Fixes: afab9d91d8 ("drm/msm/adreno: Expose speedbin to userspace")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Link: https://lore.kernel.org/r/20220307133105.GA17534@kili
Signed-off-by: Rob Clark <robdclark@chromium.org>
2022-03-08 09:49:00 -08:00
..
2022-03-04 11:50:41 -08:00
2018-12-11 13:07:06 -05:00
2022-03-04 11:50:41 -08:00
2022-03-04 11:50:41 -08:00
2022-03-04 11:50:41 -08:00
2022-03-04 11:50:41 -08:00
2022-03-04 11:50:41 -08:00
2022-03-04 11:50:41 -08:00
2022-03-04 11:50:41 -08:00
2021-11-29 16:19:58 -08:00
2021-11-28 09:50:33 -08:00
2022-03-04 11:50:41 -08:00
2022-03-04 11:50:41 -08:00