• Jesse Barnes's avatar
    drm/i915: support low power watermarks on Ironlake · b79d4990
    Jesse Barnes authored
    This patch actually makes the watermark code even uglier (if that's
    possible), but has the advantage of sharing code between SNB and ILK at
    least.  Longer term we should refactor the watermark stuff into its own
    file and clean it up now that we know how it's supposed to work.
    
    Supporting WM2 on my Vaio reduced power consumption by around 0.5W, so
    this patch is definitely worthwhile (though it also needs lots of test
    coverage).
    Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    [ickle: pass the watermark structs arounds]
    Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    b79d4990
intel_display.c 195 KB