drm/i915/gen9: Drop re-allocation of DDB at atomic commit (v2)
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 12 May 2016 14:06:04 +0000 (07:06 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 13 May 2016 14:34:06 +0000 (07:34 -0700)
commita6d3460e62d17098a815a53f23e44d814cb347e0
tree4e4d4a1b28e26808440b6201d155de16fe6d18ab
parent98d39494d3759f84ce50e505059bc80f54c1c47b
drm/i915/gen9: Drop re-allocation of DDB at atomic commit (v2)

Now that we're properly pre-allocating the DDB during the atomic check
phase and we trust that the allocation is appropriate, let's actually
use the allocation computed and not duplicate that work during the
commit phase.

v2:
 - Significant rebasing now that we can use cached data rates and
   minimum block allocations to avoid grabbing additional plane states.

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