drm/i915/gen9: Cache plane data rates in CRTC state
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 12 May 2016 14:05:57 +0000 (07:05 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 13 May 2016 14:32:35 +0000 (07:32 -0700)
commita1de91e5f3039dfc32ac2b77ffb280a68646cbc7
tree4fe05819f8f33abdd91fc453dc9612fad0ba357b
parente7649b54777ba6491204acbe1f1a34fce78637d5
drm/i915/gen9: Cache plane data rates in CRTC state

This will be important when we start calculating CRTC data rates for
in-flight CRTC states since it will allow us to calculate the total data
rate without needing to grab the plane state for any planes that aren't
updated by the transaction.

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