commit | 50a9dd3f24e1478ce143bf2876b0680f2038c503 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Nov 28 19:37:06 2016 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Dec 05 16:23:25 2016 +0200 |
tree | c3e8a15ec2c6c990e863fa17e1ad4851f648c849 | |
parent | 1be4d3793d5a93daddcd9be657c429b38ad750a3 [diff] |
drm/i915: Clean up VLV/CHV maxfifo watermark setup Let's compute the maxfifo watermarks using max() instead of min(). Can't even recall why I did it the other way originally. Anyways using max() avoids having to initialize the watermarks to the max value first. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1480354637-14209-5-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>