1. 18 Feb, 2020 2 commits
    • Jani Nikula's avatar
      drm/i915/display: use intel_de_*() functions for register access · de1df953
      Jani Nikula authored
      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 new display engine register
      accessors intel_de_read(), intel_de_write(), intel_de_posting_read(),
      intel_de_read_fw(), and intel_de_write_fw().
      
      No functional changes.
      
      Generated using the following semantic patch:
      
      @@
      expression REG, OFFSET;
      @@
      - I915_READ(REG)
      + intel_de_read(dev_priv, REG)
      
      @@
      expression REG, OFFSET;
      @@
      - POSTING_READ(REG)
      + intel_de_posting_read(dev_priv, REG)
      
      @@
      expression REG, OFFSET;
      @@
      - I915_WRITE(REG, OFFSET)
      + intel_de_write(dev_priv, REG, OFFSET)
      
      @@
      expression REG;
      @@
      - I915_READ_FW(REG)
      + intel_de_read_fw(dev_priv, REG)
      
      @@
      expression REG, OFFSET;
      @@
      - I915_WRITE_FW(REG, OFFSET)
      + intel_de_write_fw(dev_priv, REG, OFFSET)
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200214140910.23194-2-jani.nikula@intel.com
      de1df953
    • Jani Nikula's avatar
      drm/i915/csr: use intel_de_*() functions for register access · 6ae5d1ce
      Jani Nikula authored
      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 new display engine register
      accessors intel_de_read(), intel_de_write(), intel_de_posting_read(),
      intel_de_read_fw(), and intel_de_write_fw().
      
      No functional changes.
      
      Generated using the following semantic patch:
      
      @@
      expression REG, OFFSET;
      @@
      - I915_READ(REG)
      + intel_de_read(dev_priv, REG)
      
      @@
      expression REG, OFFSET;
      @@
      - POSTING_READ(REG)
      + intel_de_posting_read(dev_priv, REG)
      
      @@
      expression REG, OFFSET;
      @@
      - I915_WRITE(REG, OFFSET)
      + intel_de_write(dev_priv, REG, OFFSET)
      
      @@
      expression REG;
      @@
      - I915_READ_FW(REG)
      + intel_de_read_fw(dev_priv, REG)
      
      @@
      expression REG, OFFSET;
      @@
      - I915_WRITE_FW(REG, OFFSET)
      + intel_de_write_fw(dev_priv, REG, OFFSET)
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200214140910.23194-1-jani.nikula@intel.com
      6ae5d1ce
  2. 17 Feb, 2020 6 commits
  3. 16 Feb, 2020 2 commits
  4. 15 Feb, 2020 4 commits
  5. 14 Feb, 2020 3 commits
  6. 13 Feb, 2020 6 commits
  7. 12 Feb, 2020 4 commits
  8. 11 Feb, 2020 13 commits