Skip to content

Commit ce98870

Browse files
committed
drm/i915/dram: replace __raw_uncore_read32() with intel_uncore_read_fw()
The __raw_uncore_* interface is supposed to be intel_uncore.[ch] internal only. Replace the remaining outside user with intel_uncore_read_fw(), which is essentially the same thing. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230627105849.274263-1-jani.nikula@intel.com
1 parent 72e9abc commit ce98870

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/i915/soc/intel_dram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ void intel_dram_edram_detect(struct drm_i915_private *i915)
704704
if (!(IS_HASWELL(i915) || IS_BROADWELL(i915) || GRAPHICS_VER(i915) >= 9))
705705
return;
706706

707-
edram_cap = __raw_uncore_read32(&i915->uncore, HSW_EDRAM_CAP);
707+
edram_cap = intel_uncore_read_fw(&i915->uncore, HSW_EDRAM_CAP);
708708

709709
/* NB: We can't write IDICR yet because we don't have gt funcs set up */
710710

0 commit comments

Comments
 (0)