drm/i915: Implement 16GB dimm wa for latency level-0
authorMahesh Kumar <mahesh1.kumar@intel.com>
Fri, 31 Aug 2018 11:09:42 +0000 (16:39 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 13 Sep 2018 21:33:03 +0000 (14:33 -0700)
commit86b592876cb6b277e5cb3c988fc5f748fdafa16f
tree1633b48c56fccc931a48d75a019c846c252ca2be
parent5771caf885ae779ade0ea009ae5d5f363bb72a52
drm/i915: Implement 16GB dimm wa for latency level-0

Memory with 16GB dimms require an increase of 1us in level-0 latency.
This patch implements the same.
Bspec: 4381

changes since V1:
 - s/memdev_info/dram_info
 - make skl_is_16gb_dimm pure function
Changes since V2:
 - make is_16gb_dimm more generic
 - rebase
Changes since V3:
 - Simplify condition (Maarten)

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/20180831110942.9234-1-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