drm/i915: fix a limit check in hsw_compute_wm_results()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 Aug 2013 10:07:31 +0000 (13:07 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 9 Aug 2013 16:26:47 +0000 (18:26 +0200)
commit16e54061ecc81df66e80ce96b3f91ae56065ed9e
tree73d5d5c6eaa39c55a8798af6b55d123ff7373055
parent58e73e15708856540056050ae0798c322e43af18
drm/i915: fix a limit check in hsw_compute_wm_results()

The '!' here was not intended.  Since '!' has higher precedence than
compare, it means the check is never true.

This regression was introduced in

commit 71fff20ff1bb790f4defe0c880e028581ffab420
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Tue Aug 6 22:24:03 2013 +0300

    drm/i915: Kill fbc_enable from hsw_lp_wm_results

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c