]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Fix the level 0 max_wm hack on VLV/CHV
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 28 Nov 2016 17:37:05 +0000 (19:37 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 5 Dec 2016 14:23:24 +0000 (16:23 +0200)
commit1be4d3793d5a93daddcd9be657c429b38ad750a3
treea4b8e3ea32f31afd30cb23be878556d69f60cb0a
parentddd2b792cc942adfc31288dabf5d22886c31193f
drm/i915: Fix the level 0 max_wm hack on VLV/CHV

The watermark should never exceed the FIFO size, so we need to
check against the current FIFO size instead of the theoretical
maximum when we clamp the level 0 watermark.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1480354637-14209-4-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_pm.c