drm/i915: Initialize skylake scalers
authorChandra Konduru <chandra.konduru@intel.com>
Tue, 7 Apr 2015 22:28:38 +0000 (15:28 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Apr 2015 09:30:28 +0000 (11:30 +0200)
commit549e2bfb54905c734aae77d2cdb809a7acaefeeb
tree792d472ade931a9f57d27618d5dcbaf5861ed27b
parent08e221fbf69a1e8da66526b340560e99e3e4eed9
drm/i915: Initialize skylake scalers

Initializing scalers with supported values during crtc init.

v2:
-initialize single copy of min/max values (Matt)

v3:
-moved gen check to callsite (Matt)

v4:
-squashed planes begin with no scaler to here (me)

v5:
-updated init function with updated scaler state structure (Matt)

Signed-off-by: Chandra Konduru <chandra.konduru@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_sprite.c