commit | fd7a9d8fa1aa4aed276ae3f12db74db9b5b33455 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Apr 29 13:10:33 2020 +0300 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Jul 01 18:45:25 2020 +0300 |
tree | 39fecce605014c4dbbeff60e1b4c3252532f3a74 | |
parent | fc6200948275383ca214bb30dd175dfd0d61149b [diff] |
drm/i915: Fix g4x fbc watermark enable 'level' here means the highest level we can't use, so when checking the fbc watermarks we need a -1 to get at the last enabled level. While at if refactor the code a bit to declutter g4x_compute_pipe_wm(). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200429101034.8208-12-ville.syrjala@linux.intel.com Reviewed-by: José Roberto de Souza <jose.souza@intel.com>