diff options
author | Jani Nikula <jani.nikula@intel.com> | 2020-11-30 13:15:53 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2020-12-01 17:55:58 +0200 |
commit | 669f3f2bac1ca6ad887419f63ac5430e9ea85e6a (patch) | |
tree | 463eeab8571a8d9abf517ea91c275fa120b8399d /drivers/gpu/drm/i915/intel_uncore.c | |
parent | 868b5626d0b9203a8f4e89b0ff91a0aa716b2e49 (diff) | |
download | lwn-669f3f2bac1ca6ad887419f63ac5430e9ea85e6a.tar.gz lwn-669f3f2bac1ca6ad887419f63ac5430e9ea85e6a.zip |
drm/i915: remove last traces of I915_READ_FW() and I915_WRITE_FW()
Good riddance! Remove the macros and their remaining references in
comments.
intel_uncore_read_fw() and intel_uncore_write_fw() should be used
instead.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@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/20201130111601.2817-2-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_uncore.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_uncore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c index 1c14a07eba7d..ef40edfff412 100644 --- a/drivers/gpu/drm/i915/intel_uncore.c +++ b/drivers/gpu/drm/i915/intel_uncore.c @@ -2070,7 +2070,7 @@ int i915_reg_read_ioctl(struct drm_device *dev, * This routine waits until the target register @reg contains the expected * @value after applying the @mask, i.e. it waits until :: * - * (I915_READ_FW(reg) & mask) == value + * (intel_uncore_read_fw(uncore, reg) & mask) == value * * Otherwise, the wait will timeout after @slow_timeout_ms milliseconds. * For atomic context @slow_timeout_ms must be zero and @fast_timeout_us |