drm/i915/skl+: WM calculation don't require height
authorKumar, Mahesh <mahesh1.kumar@intel.com>
Wed, 5 Jul 2017 14:31:48 +0000 (20:01 +0530)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 13 Jul 2017 14:38:54 +0000 (16:38 +0200)
commit129eaa957dd5a717edd70cfaf0626c143c03e54e
tree0a4ff4e9a56f1b67262632c6d0b9acfe251019d3
parent6ea593c029d8f7c847fd68392eeb5a284ee96bd7
drm/i915/skl+: WM calculation don't require height

height of plane was require to swap width/height in case of 90/270
rotation. Now src structure contains already swapped values, So we
don't have to calculate height of the plane.

Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170705143154.32132-6-mahesh1.kumar@intel.com
drivers/gpu/drm/i915/intel_pm.c