1. 08 5月, 2015 25 次提交
  2. 21 4月, 2015 1 次提交
  3. 16 4月, 2015 9 次提交
  4. 14 4月, 2015 2 次提交
  5. 13 4月, 2015 3 次提交
    • A
      drm/i915: Allocate connector state together with the connectors · 08d9bc92
      Ander Conselvan de Oliveira 提交于
      Connector states were being allocated in intel_setup_outputs() in loop
      over all connectors. That meant hot-added connectors would have a NULL
      state. Since the change to use a struct drm_atomic_state for the legacy
      modeset, connector states are necessary for the i915 driver to function
      properly, so that would lead to oopses.
      
      Broken by
      
      commit 944b0c76
      Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
      Date:   Fri Mar 20 16:18:07 2015 +0200
      
          drm/i915: Copy the staged connector config to the legacy atomic state
      
      v2: Fix test for intel_connector_init() success in lvds and sdvo (PRTS)
      Signed-off-by: NAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
      Reported-and-tested-by: NNicolas Kalkhof <nkalkhof@web.de>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      08d9bc92
    • C
      drm/i915: skylake panel fitting using shared scalers · a1b2278e
      Chandra Konduru 提交于
      Enabling skylake panel fitting feature using shared scalers
      
      v2:
      -added force detach parameter for pfit disable purpose (me)
      -read crtc scaler state from hw state (Daniel)
      -replaced both skylake_pfit_enable and disable with skylake_pfit_update (me)
      -added scaler id check to intel_pipe_config_compare (Daniel)
      
      v3:
      -updated function header to kerneldoc format (Matt)
      -dropped need_scaling checks (Matt)
      
      v4:
      -move clearing of scaler id from commit path to check path (Matt)
      -updated colorkey checks based on recent updates (me)
      -squashed scaler check while enabling colorkey to here (me)
      -use values in plane_state->src as regular integers (me)
      -changes made not to modify state in commit path (Matt)
      
      v5:
      -squashed helper function to update scaler users to here (Matt)
      -squashed helper function to detach scaler to here (Matt, me)
      -changes to align with updated scaler structures (Matt, me)
      Signed-off-by: NChandra Konduru <chandra.konduru@intel.com>
      Reviewed-by: NMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      a1b2278e
    • C
      drm/i915: setup scalers for crtc_compute_config · d03c93d4
      Chandra Konduru 提交于
      Added intel_atomic_setup_scalers to setup scalers based on
      staged scaling requests from a crtc and its planes. If staged
      requests are supportable, this function assigns scalers to
      requested planes and crtc. Note that the scaler assignement
      itself is staged into crtc_state and respective plane_states
      for later commit after all checks have been done.
      
      overall high level flow:
       - scaler requests are staged into crtc_state by planes/crtc
       - check whether staged scaling requests can be supported
       - add planes using scalers that aren't in current transaction
       - assign scalers to requested users
       - as part of plane commit, scalers will be committed
         (i.e., either attached or detached) to respective planes in hw
       - as part of crtc_commit, scaler will be either attached or detached
         to crtc in hw
      
      crtc_compute_config calls intel_atomic_setup_scalers() to start
      scaler assignments as per scaler state in crtc config. This call
      should be moved to atomic crtc once it is available.
      
      v2:
      -removed a log message (me)
      -changed input parameter to crtc_state (me)
      
      v3:
      -remove assigning plane_state returned by drm_atomic_get_plane_state (Matt)
      -fail if there is an error from drm_atomic_get_plane_state (Matt)
      
      v4:
      -changes to align with updated scaler structure (Matt, me)
      
      v5:
      -added addtional checks before enabling HQ mode (me)
      -added comments to enable HQ mode (Matt)
      Signed-off-by: NChandra Konduru <chandra.konduru@intel.com>
      Reviewed-by: NMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      d03c93d4