From: Ville Syrjälä Date: Wed, 9 Oct 2013 16:18:02 +0000 (+0300) Subject: drm/i915: Kill fbc_wm_enabled from intel_wm_config X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7eaa4d56107dac87946f3b45faf37bc831f8de83;p=linux-beck.git drm/i915: Kill fbc_wm_enabled from intel_wm_config The fbc_wm_enabled member in intel_wm_config is useless for the time being. The original idea for it was that we'd pre-compute it and so that the WM merging process could know whether it needs to worry about FBC watermarks at all. But we don't have a convenient way to pre-check for the possibility of FBC being used. intel_update_fbc() should be split up for that. Signed-off-by: Ville Syrjälä Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 9f33e37f8a2d..abea03c1e480 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -2213,7 +2213,6 @@ struct intel_wm_config { unsigned int num_pipes_active; bool sprites_enabled; bool sprites_scaled; - bool fbc_wm_enabled; }; /*