diff options
| author | Jani Nikula <[email protected]> | 2020-01-21 13:39:15 +0200 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2020-01-23 11:07:00 +0200 |
| commit | 9c757aeaaaa18d36eba5a464109690e8f7990a40 (patch) | |
| tree | 1c7c757933bd6a692d25b8607ce561c2e087bab5 /tools/perf/scripts/python/bin | |
| parent | 6fef8510a7a51227620de74cc495916e6ba54773 (diff) | |
drm/i915: add display engine uncore helpers
Add convenience helpers for the most common uncore operations with
struct drm_i915_private * as context rather than struct intel_uncore *.
The goal is to replace all instances of I915_READ(),
I915_POSTING_READ(), I915_WRITE(), I915_READ_FW(), and I915_WRITE_FW()
in display/ with these, to finally be able to get rid of the implicit
dev_priv local parameter use.
The idea is that any non-u32 reads or writes are special enough that
they can use the intel_uncore_* functions directly.
v2:
- rename the file intel_de.h
- move intel_de_wait_for_* there too
- also add de fw helpers
Cc: Chris Wilson <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Ville Syrjälä <[email protected]>
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/bin')
0 files changed, 0 insertions, 0 deletions