diff options
| author | 2020-02-25 13:15:08 +0200 | |
|---|---|---|
| committer | 2020-02-27 09:16:12 +0200 | |
| commit | 3c2eddc2d421762b91dbd0c00c6397f045068f8e (patch) | |
| tree | 731f77d7b7a53b18566218eb03dff3fc59c0ff23 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | drm/i915: split out intel_dram.[ch] from i915_drv.c (diff) | |
drm/i915/dram: use intel_uncore_*() functions for register access
The implicit "dev_priv" local variable use has been a long-standing pain
point in the register access macros I915_READ(), I915_WRITE(),
POSTING_READ(), I915_READ_FW(), and I915_WRITE_FW().
Replace them with the corresponding uncore register accessors
intel_uncore_read(), intel_uncore_write(), intel_uncore_posting_read(),
intel_uncore_read_fw(), and intel_uncore_write_fw().
Rename dev_priv to i915 while at it.
No functional changes.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200225111509.21879-2-jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
