projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65833c4
)
drm/i915/dmc: use intel uncore functions for forcewake register access
author
Jani Nikula
<jani.nikula@intel.com>
Thu, 23 Jan 2020 13:59:59 +0000
(15:59 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Mon, 27 Jan 2020 09:04:55 +0000
(11:04 +0200)
Move away from I915_READ_FW() and I915_WRITE_FW() and switch to using
intel_uncore_read_fw() and intel_uncore_write_fw(), respectively.
No functional changes.
Reviewed-by: 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/20200123140004.14136-1-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_csr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_csr.c
b/drivers/gpu/drm/i915/intel_csr.c
index ae25960f74e0600e9dd5d2cce8f3519f4e2191a3..6a408e11a3de8b00cf6fc5273bf60fb368d84473 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_csr.c
+++ b/
drivers/gpu/drm/i915/intel_csr.c
@@
-315,7
+315,8
@@
void intel_csr_load_program(struct drm_i915_private *dev_priv)
preempt_disable();
for (i = 0; i < fw_size; i++)
- I915_WRITE_FW(CSR_PROGRAM(i), payload[i]);
+ intel_uncore_write_fw(&dev_priv->uncore, CSR_PROGRAM(i),
+ payload[i]);
preempt_enable();