diff options
author | Andrzej Hajda <andrzej.hajda@intel.com> | 2022-10-06 18:31:59 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@linux.intel.com> | 2022-10-11 13:36:45 +0200 |
commit | 06b975d58fd6105e3fad8b3a1122749f79dd7df3 (patch) | |
tree | b09e846a102a4c32643f6d5fcaf57f5c5fe1f390 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e58c2cac2c21f2785d4ab9f4ddf6d9e7a92dd8e7 (diff) |
drm/i915: make intel_uncore_rmw() write unconditionally
Two small changes in intel_uncore_rmw will allow to use it more broadly:
- write register unconditionally, for use with latch registers,
- return old value of the register, IRQ cleanup and similar.
If we really want to keep write-only-if-changed feature maybe other
helper will be more suitable for it, intel_uncore_rmw name suggests
unconditional write.
Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221006163200.2803722-4-andrzej.hajda@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions