]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Include intel_de_{read,write}_fw() in i915_reg_rw traces
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 30 Apr 2021 14:39:45 +0000 (17:39 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 May 2021 18:05:58 +0000 (21:05 +0300)
commit304d4c7180720e19090aa876d1558c42725e6a14
tree7ed2e058659ba588de8e7772366ae4835d3bf9ce
parent23b77510c03ba85d502a07ff33bf40f88ad86336
drm/i915: Include intel_de_{read,write}_fw() in i915_reg_rw traces

We lost the i915_reg_rw tracepoint for a lot of display registers
when we switched from the heavyweight normal register accessors to
the lightweight _fw() variants. See eg. commit 18100545f91b
("drm/i915: Use I915_READ_FW for plane updates").

Put the tracepoints back so that the register traces might
actually be useful. Hopefully these should be close to free
when the tracepoint is not enabled and thus not slow down
our vblank critical sections significantly.

v2: Copy paste the same-cacheline-hang warning from
    intel_uncore.h (Anshuman)

Cc: Cooper Chiou <cooper.chiou@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210430143945.6776-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_de.h