aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorAshutosh Dixit <[email protected]>2023-02-27 20:43:34 -0800
committerRodrigo Vivi <[email protected]>2023-03-01 11:25:36 -0500
commit12e8ed969852c11503216115952c84f7c2f4c6b5 (patch)
tree1f4dab73fb9619cb62a240764c302f6c48cc69fa /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent30c35a4ba9cd91e07825da8e2846887cb000114c (diff)
drm/i915/hwmon: Accept writes of value 0 to power1_max_interval
The value shown by power1_max_interval in millisec is essentially: ((1.x * power(2,y)) * 1000) >> 10 Where x and y are read from a HW register. On ATSM, x and y are 0 on power-up so the value shown is 0. Writes of 0 to power1_max_interval had previously been disallowed to avoid computing ilog2(0) but this resulted in the corner-case bug below. Therefore allow writes of 0 now but special case that write to x = y = 0. Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/7754 Signed-off-by: Ashutosh Dixit <[email protected]> Reviewed-by: Badal Nilawar <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions