1. 13 2月, 2014 1 次提交
  2. 25 1月, 2014 3 次提交
  3. 08 1月, 2014 1 次提交
  4. 12 12月, 2013 2 次提交
  5. 11 12月, 2013 1 次提交
  6. 04 12月, 2013 1 次提交
  7. 28 11月, 2013 1 次提交
  8. 21 11月, 2013 1 次提交
  9. 19 11月, 2013 2 次提交
  10. 09 11月, 2013 5 次提交
  11. 29 10月, 2013 1 次提交
  12. 28 10月, 2013 1 次提交
  13. 10 10月, 2013 1 次提交
  14. 09 10月, 2013 1 次提交
  15. 01 10月, 2013 4 次提交
  16. 13 9月, 2013 2 次提交
  17. 10 9月, 2013 1 次提交
  18. 09 9月, 2013 1 次提交
  19. 04 9月, 2013 1 次提交
  20. 23 8月, 2013 1 次提交
  21. 06 8月, 2013 2 次提交
  22. 05 8月, 2013 1 次提交
  23. 18 7月, 2013 1 次提交
    • R
      drm/i915: Hook PSR functionality · 4906557e
      Rodrigo Vivi 提交于
      PSR must be enabled after transcoder and port are running.
      And it is only available for HSW.
      
      v2: move enable/disable to intel_ddi
      v3: The spec suggests PSR should be disabled even before backlight (by pzanoni)
      v4: also disabling and enabling whenever panel is disabled/enabled.
      v5: make it last patch to avoid breaking whenever bisecting. So calling for
          update and force exit came to this patch along with enable/disable calls.
      v6: Remove unused and unecessary psr_enable/disable calls, as notice by Paulo.
      
      CC: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@gmail.com>
      [danvet: Drop the psr exit code in the busy ioctl since I didn't merge
      that part of the infrastructure yet - it needs more thought.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      4906557e
  24. 13 7月, 2013 1 次提交
  25. 28 6月, 2013 3 次提交
    • P
      drm/i915: fix the "ghost eDP" encoder unwind path · 15b1d171
      Paulo Zanoni 提交于
      Because calling intel_dp_encoder_destroy inside
      intel_edp_init_connector is just wrong. This is the initialization
      path, so we should properly unwind all the initialization through the
      whole caller stack.
      
      On the intel_dp_encoder_destroy function we do the following:
      1 - Call i2c_del_adapter
      2 - Call drm_encoder_cleanup
      3 - If edp:
      3.1 - Cancel panel_vdd_work
      3.2 - Call ironlake_panel_vdd_of_sync
      4 - Free the encoder
      
      And here is how we unwind each specific step:
      1 - We have intel_dp_init_connector -> intel_dp_i2c_init ->
          i2c_dp_aux_add_bus -> i2c_add_adapter, so we call
          i2c_del_dapter at intel_dp_init_connector
      2 - Call it in the same function that called drm_encoder_init
      3 - Call it in the same function that called INIT_DELAYED_WORK
      4 - Free it in the same function that allocated it
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NZoltan Nyul <zoltan.nyul@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      15b1d171
    • P
      drm/i915: fix the "ghost eDP" connector unwind path · b2f246a8
      Paulo Zanoni 提交于
      Because calling intel_dp_destroy inside intel_edp_init_connector is
      just wrong. This is the initialization path, so we should properly
      unwind all the initialization through the whole caller stack.
      
      On the intel_dp_destroy function we do the following:
      1 - Free edid if it exists
      2 - Call intel_panel_fini in case it's eDP
      3 - Call drm_sysfs_connector_remove
      4 - Call drm_connector_cleanup
      5 - Free the connector
      
      And here is how we unwind each specific step:
      1 - No need as we still didn't assign anything
      2 - No need as we still didn't call intel_panel_init
      3 - Call it in the same function that called drm_sysfs_connector_add
      4 - Call it in the same function that called drm_connector_init
      5 - Free it in the same function that allocated it
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NZoltan Nyul <zoltan.nyul@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      b2f246a8
    • P
      drm/i915: propagate errors from intel_dp_init_connector · 16c25533
      Paulo Zanoni 提交于
      In case we detect a "ghost eDP", intel_edp_init_connector frees both
      the connector and encoder and then returns. On Haswell, intel_ddi_init
      then tries to use the freed encoder on the HDMI initialization path
      since the following commit:
      
      commit 21a8e6a4
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Wed Apr 10 23:28:35 2013 +0200
          drm/i915: don't setup hdmi for port D edp in ddi_init
      
      So now on intel_ddi_init we check for the "ghost eDP" case and return
      without trying to initialize HDMI. This way we won't try to read the
      freed "intel_encoder" struct in the next "if" statement.
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NZoltan Nyul <zoltan.nyul@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      16c25533