summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorAmit Barzilai <amit.barzilai22@gmail.com>2026-06-22 15:26:03 +0300
committerJavier Martinez Canillas <javierm@redhat.com>2026-07-06 12:35:03 +0200
commit2f1ac69c0693a42a6d0026744e02df6275e3a169 (patch)
tree53fc8c975be2ce1f594e88e72a5c8ed2f8912f95 /tools/perf/scripts/python/bin/flamegraph-record
parent99e9c09358195454ecd200b9c6aba6b7d209fad4 (diff)
drm/ssd130x: hoist column and row addresses out of repeated division
The ssd132x_update_rect had to calculate the column address twice in the same function by dividing the byte address and the segment_width. Optimize this by hoisting the result into a col variable. Renamed the "y" variable to "row" to match the change made in the x axis. Signed-off-by: Amit Barzilai <amit.barzilai22@gmail.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patch.msgid.link/20260622122604.32500-3-amit.barzilai22@gmail.com Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions