]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move SKL IPC WA to HAS_IPC()
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 18 Sep 2018 20:47:12 +0000 (13:47 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 27 Sep 2018 00:06:19 +0000 (17:06 -0700)
commit6323113b7af6ef2f095f159752b06e83a64d8b9a
treef475ef171ee497f50f0385763dc90986045cd3a3
parentfd847b8e60e0db72fd7d8922da0d1b07c1454efa
drm/i915: Move SKL IPC WA to HAS_IPC()

SKL has IPC but it should not be set according to the WA, so lets
just mark as it don't have it to simply the code and avoid
unnecessary MMIO writes at every call to intel_enable_ipc().

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180918204714.27306-4-jose.souza@intel.com
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_pm.c