aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2017-03-02 19:14:59 +0200
committerVille Syrjälä <[email protected]>2017-03-03 16:50:10 +0200
commit4841da51a753ca65909441e561236de82b6b48a5 (patch)
tree751fff850e13b7525d96dbe9a23adf7fd76920a5 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent236c48e692458fb55ec96ac1823a176f2bce09f1 (diff)
drm/i915: Compute proper intermediate wms for vlv/cvh
Since the watermark registers arent double buffered on VLV/CHV, we'll need to play around with intermediate watermarks same was as we do on ILK-BDW. The watermark registers on VLV/CHV contain inverted values, so to find the intermediate watermark value we just take the minimum of the active and optimal values. This also means that, unlike ILK-BDW, there's no chance that we'd fail to find a working intermediate watermarks. As long as both the active and optimal watermarks are valid the intermediate watermarks will come out valid as well. Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions