diff options
author | Chandra Konduru <chandra.konduru@intel.com> | 2015-04-07 15:28:38 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-13 11:30:28 +0200 |
commit | 549e2bfb54905c734aae77d2cdb809a7acaefeeb (patch) | |
tree | 792d472ade931a9f57d27618d5dcbaf5861ed27b /drivers/gpu/drm/i915/intel_sprite.c | |
parent | 08e221fbf69a1e8da66526b340560e99e3e4eed9 (diff) | |
download | linux-549e2bfb54905c734aae77d2cdb809a7acaefeeb.tar.gz linux-549e2bfb54905c734aae77d2cdb809a7acaefeeb.tar.bz2 linux-549e2bfb54905c734aae77d2cdb809a7acaefeeb.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sprite.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sprite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index 7d1a5b86d06c..6d4e1ea4219f 100644 --- a/drivers/gpu/drm/i915/intel_sprite.c +++ b/drivers/gpu/drm/i915/intel_sprite.c @@ -1294,6 +1294,7 @@ intel_plane_init(struct drm_device *dev, enum pipe pipe, int plane) intel_plane->max_downscale = 1; intel_plane->update_plane = skl_update_plane; intel_plane->disable_plane = skl_disable_plane; + state->scaler_id = -1; plane_formats = skl_plane_formats; num_plane_formats = ARRAY_SIZE(skl_plane_formats); |