#include "intel_display_utils.h"
#include "intel_display_wa.h"
#include "intel_dram.h"
+#include "intel_mchbar.h"
#include "intel_mchbar_regs.h"
#include "intel_parent.h"
#include "intel_pci_config.h"
else
return 0;
- tmp = intel_de_read(display, display->platform.pineview ||
- display->platform.mobile ? HPLLVCO_MOBILE : HPLLVCO);
+ tmp = intel_mchbar_read(display, display->platform.pineview ||
+ display->platform.mobile ? HPLLVCO_MOBILE : HPLLVCO);
vco = vco_table[tmp & 0x7];
if (vco == 0)
#include "intel_display_wa.h"
#include "intel_dmc.h"
#include "intel_dram.h"
+#include "intel_mchbar.h"
#include "intel_mchbar_regs.h"
#include "intel_parent.h"
#include "intel_pch_refclk.h"
static u32 hsw_read_dcomp(struct intel_display *display)
{
if (display->platform.haswell)
- return intel_de_read(display, D_COMP_HSW);
+ return intel_mchbar_read(display, D_COMP_HSW);
else
return intel_de_read(display, D_COMP_BDW);
}