drm/i915/dmc: switch to intel_de_* register accessors in display code
Avoid direct uncore use in display code. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/bc144ab3565b10e71244cd09f72ce7df86f4b5c6.1670433372.git.jani.nikula@intel.com
This commit is contained in:
parent
cd4d7b30d3
commit
f10a5f3372
|
@ -433,9 +433,9 @@ void intel_dmc_load_program(struct drm_i915_private *dev_priv)
|
||||||
|
|
||||||
for (id = 0; id < DMC_FW_MAX; id++) {
|
for (id = 0; id < DMC_FW_MAX; id++) {
|
||||||
for (i = 0; i < dmc->dmc_info[id].dmc_fw_size; i++) {
|
for (i = 0; i < dmc->dmc_info[id].dmc_fw_size; i++) {
|
||||||
intel_uncore_write_fw(&dev_priv->uncore,
|
intel_de_write_fw(dev_priv,
|
||||||
DMC_PROGRAM(dmc->dmc_info[id].start_mmioaddr, i),
|
DMC_PROGRAM(dmc->dmc_info[id].start_mmioaddr, i),
|
||||||
dmc->dmc_info[id].payload[i]);
|
dmc->dmc_info[id].payload[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue