drm/i915: skylake sprite plane scaling using shared scalers
authorChandra Konduru <chandra.konduru@intel.com>
Wed, 15 Apr 2015 22:15:02 +0000 (15:15 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 11:03:07 +0000 (13:03 +0200)
commitc331879ce8ea4508260c5e9da5ea4b1a7d20e381
treefa10d36f3fb952aeecbf623e8567e2c98189eb6f
parent6156a45602f990cdb140025a3ced96e6695980cf
drm/i915: skylake sprite plane scaling using shared scalers

This patch enables skylake sprite plane display scaling using shared
scalers atomic desgin.

v2:
-use single copy of scaler limits (Matt)

v3:
-detaching scalers moved to crtc commit path (Matt)

v4:
-changes to align with updated scaler structures (Matt, me)
-keep sprite src rect in 16.16 format (Matt, Daniel)

v5:
-rebased on top of 90/270 rotation changes (me)
-Refactored skl_update_plane to reduce its size (Daniel)
 It is a step towards having a single function covering all planes.

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