drm/i915/gen9: Actually verify WM levels in verify_wm_state()
authorcpaul@redhat.com <cpaul@redhat.com>
Fri, 14 Oct 2016 21:31:57 +0000 (17:31 -0400)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 19 Oct 2016 20:27:01 +0000 (18:27 -0200)
commit3de8a14c288c1f83b9cd4bf24bb4fe6d0c22635b
treed71d45c9400bbe563c8465121b5c028ca099feb7
parent45ece23016ccd86a4629c9f74e22f0c06afa88f5
drm/i915/gen9: Actually verify WM levels in verify_wm_state()

Thanks to Paulo Zanoni for indirectly pointing this out.

Looks like we never actually added any code for checking whether or not
we actually wrote watermark levels properly. Let's fix that.

Changes since v1:
- Use %u instead of %d when printing WM state mismatches

Signed-off-by: Lyude <cpaul@redhat.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1476480722-13015-10-git-send-email-cpaul@redhat.com
drivers/gpu/drm/i915/intel_display.c