aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2020-05-21 12:32:45 -0400
committerAlex Deucher <[email protected]>2020-07-01 01:59:20 -0400
commitca8e2084e54b0c81638d94dfcaae84accb05869d (patch)
tree334d547343201455e30189d56a74a277e186d8fa /tools/perf/scripts/python/syscall-counts-by-pid.py
parentb7efa4f5cdb4c44311483ffacc1cfe235af28b25 (diff)
drm/amd/display: Use u16 for drm_bpp in DSC calculations
[Why] DSC calculations fail because the u16 bits_per_pixel from the DRM struct is being casted to the u8 drm_bpp parameters and locals. Integer wraparound is happening because this value is greater than 255. [How] Use u16 to match what's in the structure instead of u8. Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions