]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move w/a 0477/WaDisableIPC:skl into intel_init_ipc()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 May 2019 17:38:07 +0000 (20:38 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 6 May 2019 14:53:28 +0000 (17:53 +0300)
commitc43623578f0a0a5ad501465bab0f93aefae2d2a9
tree378139de02c293a5b85ff9105b2ee59d30b32cf1
parentb6c985b50b52809e4822da43dab4e46ad8e6f50b
drm/i915: Move w/a 0477/WaDisableIPC:skl into intel_init_ipc()

Move the w/a to disable IPC on SKL closer to the actual code
that implements IPS. Otherwise I just end up confused as to
what is excluding SKL from considerations.

IMO this makes more sense anyway since the hw does have the
feature, we're just not supposed to use it.

And this also makes us actually disable IPC in case eg. the
BIOS enabled it when it shouldn't have.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190503173807.10834-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_pm.c