summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorDom Cobley <popcornmix@gmail.com>2021-01-11 15:22:57 +0100
committerMaxime Ripard <maxime@cerno.tech>2021-01-28 10:27:26 +0100
commite9c9481f373eb7344f9e973eb28fc6e9d0f46485 (patch)
tree6f8af58099c85d8fff606ade29d1a9821428c662 /tools/perf/scripts/python/netdev-times.py
parent7155334f15f360f5c98391c5c7e12af4c13395c4 (diff)
downloadcachepc-linux-e9c9481f373eb7344f9e973eb28fc6e9d0f46485.tar.gz
cachepc-linux-e9c9481f373eb7344f9e973eb28fc6e9d0f46485.zip
drm/vc4: hdmi: Fix register offset with longer CEC messages
The code prior to 311e305fdb4e ("drm/vc4: hdmi: Implement a register layout abstraction") was relying on the fact that the register offset was incremented by 4 for each readl call. That worked since the register width is 4 bytes. However, since that commit the HDMI_READ macro is now taking an enum, and the offset doesn't increment by 4 but 1 now. Divide the index by 4 to fix this. Fixes: 311e305fdb4e ("drm/vc4: hdmi: Implement a register layout abstraction") Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Dom Cobley <popcornmix@gmail.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Tested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Link: https://patchwork.freedesktop.org/patch/msgid/20210111142309.193441-4-maxime@cerno.tech
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions