Skip to content
Commit fd7a9d8f authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

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: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200429101034.8208-12-ville.syrjala@linux.intel.com
Reviewed-by: default avatarJosé Roberto de Souza <jose.souza@intel.com>
parent fc620094
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment