[PATCH 00/21] skylake display scalers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch enables skylake display scalers in atomic framework.
Skylake scalers are sharable within a pipe and can be used as a panel
fitter or plane scaler. Two scalers cannot be ganged to a single plane
to get higher scale factor but simultaneous use of one as plane scaler
and one scaler as panel fitter is allowed. Reformatted previous patch
series into smaller patches and addressed previous feedback inputs.
Performed some initial testing and more testing is in works.
Testing is done applying these patches on top of Ander's v2
atomic crtc patches.
As several atomic crtc is in flight, will revisit scalers and perform
any additional testing after atomic crtc is in place.

Thanks,
Chandra

Chandra Konduru (21):
  drm/i915: Adding drm helper function drm_plane_from_index().
  drm/i915: Register definitions for skylake scalers
  drm/i915: Enable get_colorkey functions for primary plane.
  drm/i915: skylake scaler structure definitions
  drm/i915: Initialize skylake scalers
  drm/i915: Dump scaler_state too as part of dumping crtc_state
  drm/i915: Helper function to update skylake scaling ratio.
  drm/i915: Add helper function to update scaler_users in crtc_state
  drm/i915: Add atomic function to setup scalers scalers for a crtc.
  drm/i915: Helper function to detach a scaler from a plane or crtc
  drm/i915: Ensure planes begin with no scaler.
  drm/i915: Ensure colorkey and scaling aren't enabled at same time
  drm/i915: Preserve scaler state when clearing crtc_state
  drm/i915: use current scaler state during readout_hw_state.
  drm/i915: Update scaling ratio as part of crtc_compute_config
  drm/i915: Ensure setting up scalers into staged crtc_state
  drm/i915: copy staged scaler state from drm state to crtc->config.
  drm/i915: stage panel fitting scaler request for fixed mode panel
  drm/i915: Enable skylake panel fitting using skylake shared scalers
  drm/i915: Enable skylake primary plane scaling using shared scalers
  drm/i915: Enable skylake sprite plane scaling using shared scalers

 drivers/gpu/drm/drm_crtc.c           |   20 ++
 drivers/gpu/drm/i915/i915_reg.h      |  114 +++++++++
 drivers/gpu/drm/i915/intel_atomic.c  |  157 ++++++++++++
 drivers/gpu/drm/i915/intel_display.c |  442 +++++++++++++++++++++++++++++++---
 drivers/gpu/drm/i915/intel_dp.c      |    7 +
 drivers/gpu/drm/i915/intel_drv.h     |  109 +++++++++
 drivers/gpu/drm/i915/intel_sprite.c  |   95 ++++++--
 include/drm/drm_crtc.h               |    1 +
 8 files changed, 895 insertions(+), 50 deletions(-)

-- 
1.7.9.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux