Merge tag 'topic/designware-baytrail-2017-03-02' of git://anongit.freedesktop.org...
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Mar 2017 08:26:06 +0000 (09:26 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Mar 2017 08:26:06 +0000 (09:26 +0100)
Baytrail PMIC vs. PMU race fixes from Hans de Goede

This time the right version (v4), with the compile fix.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
1  2 
drivers/gpu/drm/i915/Kconfig
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_uncore.c
drivers/i2c/busses/i2c-designware-core.c
drivers/i2c/busses/i2c-designware-core.h

@@@ -19,7 -19,7 +19,8 @@@ config DRM_I91
        select INPUT if ACPI
        select ACPI_VIDEO if ACPI
        select ACPI_BUTTON if ACPI
 +      select SYNC_FILE
+       select IOSF_MBI
        help
          Choose this option if you have a system that has "Intel Graphics
          Media Accelerator" or "HD Graphics" integrated graphics,
Simple merge
Simple merge
@@@ -1339,6 -1482,18 +1376,9 @@@ void intel_uncore_init(struct drm_i915_
                break;
        }
  
 -      intel_fw_table_check(dev_priv);
 -      if (INTEL_GEN(dev_priv) >= 8)
 -              intel_shadow_table_check();
 -
 -      if (intel_vgpu_active(dev_priv)) {
 -              ASSIGN_WRITE_MMIO_VFUNCS(vgpu);
 -              ASSIGN_READ_MMIO_VFUNCS(vgpu);
 -      }
 -
+       iosf_mbi_register_pmic_bus_access_notifier(
+               &dev_priv->uncore.pmic_bus_access_nb);
        i915_check_and_clear_faults(dev_priv);
  }
  #undef ASSIGN_WRITE_MMIO_VFUNCS