drm/i915/gen9: Reject display updates that exceed wm limitations (v2)
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 12 May 2016 14:06:10 +0000 (07:06 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 13 May 2016 14:36:04 +0000 (07:36 -0700)
commit6b6bada7d476b586d85b1f9df43125804877e09f
treec83b9c3ae4ef9be12dca6f7f17b1d9bb84e45e62
parent734fa01f3a17ac80d2d53cee0b05b246c03df0e4
drm/i915/gen9: Reject display updates that exceed wm limitations (v2)

If we can't find any valid level 0 watermark values for the requested
atomic transaction, reject the configuration before we try to start
programming the hardware.

v2:
 - Add extra debugging output when we reject level 0 watermarks so that
   we can more easily debug how/why they were rejected.

Cc: Lyude Paul <cpaul@redhat.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463061971-19638-17-git-send-email-matthew.d.roper@intel.com
drivers/gpu/drm/i915/intel_pm.c