]> 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)
commit8c7e9d3ce56c563e2df0ec795cc645a0b9384486
tree4e4d4a1b28e26808440b6201d155de16fe6d18ab
parent1ff2efca1065e3faa4c3c1209981be37e45820cd
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