summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-03-07 16:31:05 +0300
committerRob Clark <robdclark@chromium.org>2022-03-08 09:49:00 -0800
commitaaa743d838da81ea173856c70caf96d8cdcbc320 (patch)
tree6b7f4522ef0d6a70d425b69f9c7fcedc44c290ff /tools/perf/scripts/python/export-to-sqlite.py
parent9225b337072a10bf9b09df8bf281437488dd8a26 (diff)
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: afab9d91d872 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions