diff options
| author | Jani Nikula <[email protected]> | 2020-02-25 13:15:08 +0200 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2020-02-27 09:16:12 +0200 |
| commit | 3c2eddc2d421762b91dbd0c00c6397f045068f8e (patch) | |
| tree | 731f77d7b7a53b18566218eb03dff3fc59c0ff23 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d28ae3b28187fd50a8eabe4befca71ec9ced9a5c (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 <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions