]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4084215c1b5334ca7822ce50da226ef63bf74eb6
tree4e4d4a1b28e26808440b6201d155de16fe6d18ab
parente586e7bd44f3885e9bf767783d070904980b9d1c
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