drm/i915: Don't try to calculate relative data rates during hw readout
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 16 May 2016 22:51:58 +0000 (15:51 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 1 Jun 2016 14:32:23 +0000 (07:32 -0700)
commitedd4156fd69a141282c79aaa677ab127d711a927
tree574368c10529ecdcd0fa393fc74e606d631e4132
parent457c52d87e5dac9a4cf1a6a287e60ea7645067d4
drm/i915: Don't try to calculate relative data rates during hw readout

We don't actually read out full plane state during driver startup (only
whether the primary plane is enabled/disabled), so all of the src/dest
rectangles are invalid at this point.  However this calculation was
needless anyway since we re-calculate them from scratch on the very
first atomic transaction after boot anyway.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Kumar Mahesh <mahesh1.kumar@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463439121-28974-2-git-send-email-matthew.d.roper@intel.com
drivers/gpu/drm/i915/intel_pm.c