diff options
author | Jani Nikula <[email protected]> | 2022-11-23 18:49:16 +0200 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2022-12-07 13:24:15 +0200 |
commit | 4050e6f211ea521eb703c921cdb15b905be882b2 (patch) | |
tree | 98749f77ba647d596f6ac8dc066041365a2257f6 /tools/perf/scripts/python/flamegraph.py | |
parent | 3d0f98fa66bc459d0ba516d1d46a0b22e3005244 (diff) |
drm/i915/gt: remove some limited use register access wrappers
Remove rmw_set(), rmw_clear(), clear_register(), rmw_set_fw(), and
rmw_clear_fw(). They're just one too many levels of abstraction for
register access, for very specific purposes.
clear_register() seems like a micro-optimization bypassing the write
when the register is already clear, but that trick has ceased to work
since commit 06b975d58fd6 ("drm/i915: make intel_uncore_rmw() write
unconditionally"). Just clear the register in the most obvious way.
Signed-off-by: Jani Nikula <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions