• Yuanhan Liu's avatar
    drm/i915: Add self-refresh support on Sandybridge · 1398261a
    Yuanhan Liu authored
    Add the support of memory self-refresh on Sandybridge, which is now
    support 3 levels of watermarks and the source of the latency values
    for watermarks has changed.
    
    On Sandybridge, the LP0 WM value is not hardcoded any more. All the
    latency value is now should be extracted from MCHBAR SSKPD register.
    And the MCHBAR base address is changed, too.
    
    For the WM values, if any calculated watermark values is larger than
    the maximum value that can be programmed into the associated watermark
    register, that watermark must be disabled.
    Signed-off-by: default avatarYuanhan Liu <yuanhan.liu@linux.intel.com>
    [ickle: remove duplicate compute routines and fixup for checkpatch]
    Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    1398261a
i915_reg.h 112 KB