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

drm/i915/fbc: Eliminate racy intel_fbc_is_active() usage



The ilk fbc watermark computation uses intel_fbc_is_active() which
is racy since we don't know whether FBC will be enabled or not at
some point. So let's just assume it will be if both HAS_FBC()
and the modparam agree.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211124113652.22090-2-ville.syrjala@linux.intel.com
Reviewed-by: default avatarMika Kahola <mika.kahola@intel.com>
parent d96c5ed0
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