OSDN Git Service

drm/i915/kbl+: Enable IPC only for symmetric memory configurations
authorMahesh Kumar <mahesh1.kumar@intel.com>
Fri, 24 Aug 2018 09:32:25 +0000 (15:02 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 13 Sep 2018 21:33:03 +0000 (14:33 -0700)
commit8a6c5447635c4039eb51801fb5dcdb8c7ef93cfb
tree4f2b2be7a3dc2d8d6eb2a87469e13d102762ae34
parentf361912aa9bfefbdf875b185fc93f2454d917b4a
drm/i915/kbl+: Enable IPC only for symmetric memory configurations

IPC may cause underflows if not used with dual channel symmetric
memory configuration. Disable IPC for non symmetric configurations in
affected platforms.
Display WA #1141

Changes Since V1:
 - Re-arrange the code.
 - update wrapper to return if memory is symmetric (Rodrigo)

Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180824093225.12598-6-mahesh1.kumar@intel.com
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c