aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_atomic_plane.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2020-01-21 13:39:15 +0200
committerJani Nikula <jani.nikula@intel.com>2020-01-23 11:07:00 +0200
commit9c757aeaaaa18d36eba5a464109690e8f7990a40 (patch)
tree1c7c757933bd6a692d25b8607ce561c2e087bab5 /drivers/gpu/drm/i915/display/intel_atomic_plane.c
parentdrm/i915: Cleanup properly if the implicit fence setup fails (diff)
downloadlinux-dev-9c757aeaaaa18d36eba5a464109690e8f7990a40.tar.xz
linux-dev-9c757aeaaaa18d36eba5a464109690e8f7990a40.zip
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 <chris@chris-wilson.co.uk> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> 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/20200121113915.9813-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_atomic_plane.c')
0 files changed, 0 insertions, 0 deletions