]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gen9: Propagate watermark calculation failures up the call chain
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 12 May 2016 14:06:08 +0000 (07:06 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 13 May 2016 14:34:48 +0000 (07:34 -0700)
commitf16e220fada0d85afb402d69ce99046016919b5b
tree707c03aac8ae589b8261607b7461fad888d944e3
parent50f1be1bc7da691edea47e76017862201d1d2e0c
drm/i915/gen9: Propagate watermark calculation failures up the call chain

Once we move watermark calculation to the atomic check phase, we'll want
to start rejecting display configurations that exceed out watermark
limits.  At the moment we just assume that there's always a valid set of
watermarks, even though this may not actually be true.  Let's prepare by
passing return codes up through the call stack in preparation.

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-15-git-send-email-matthew.d.roper@intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_pm.c