drm/i915/skl: Move per-pipe ddb allocations into crtc states
authorLyude <cpaul@redhat.com>
Thu, 15 Sep 2016 14:46:35 +0000 (10:46 -0400)
committerLyude <cpaul@redhat.com>
Sun, 16 Oct 2016 23:07:58 +0000 (19:07 -0400)
commitce0ba283f64e632a088b40a09d74522555275287
tree90bd4b83f1a91c4171a747eefae22e3ea091e3b3
parentc13fb7789096596f7cd5a64b24dbb66116bfc519
drm/i915/skl: Move per-pipe ddb allocations into crtc states

First part of cleaning up all of the skl watermark code. This moves the
structures for storing the ddb allocations of each pipe into
intel_crtc_state, along with moving the structures for storing the
current ddb allocations active on hardware into intel_crtc.

Changes since v1:
- Don't replace alloc->start = alloc->end = 0;

Signed-off-by: Lyude <cpaul@redhat.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c