]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit00903615c88436cf05d9ef34cdbb0ceda3d09c24
tree90bd4b83f1a91c4171a747eefae22e3ea091e3b3
parent1cb11986f79e1acbac8cb7be7315c391d4083a88
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