1. 16 12月, 2016 1 次提交
  2. 02 12月, 2016 1 次提交
  3. 14 10月, 2016 1 次提交
  4. 04 7月, 2016 1 次提交
  5. 03 7月, 2016 1 次提交
  6. 30 6月, 2016 2 次提交
  7. 15 4月, 2016 2 次提交
  8. 13 4月, 2016 3 次提交
  9. 24 3月, 2016 1 次提交
    • I
      drm/i915/bxt: Fix DSI HW state readout · db18b6a6
      Imre Deak 提交于
      Currently the machine hangs during booting while accessing the
      BXT_MIPI_PORT_CTRL register during pipe HW state readout. After some
      experimentation I found that the hang is caused by the DSI PLL being
      disabled, or it being enabled but with an incorrect divider
      configuration. Enabling the PLL got rid of the boot problem, so fix
      this by checking the PLL enabled state/configuration before attempting
      to read out the HW state.
      
      The DSI_PLL_ENABLE register is in the always-on power well, while the
      BXT_DSI_PLL_CTL is in power well 0. This isn't exactly matched by the
      transcoder power domain, but what we really need is just a runtime PM
      reference, which is provided by any power domain.
      
      Ville also found this dependency specified in BSpec, so I added a
      reference to that too.
      
      v2:
      - Make sure we hold a power reference while accessing the PLL registers.
      v3: (Jani)
      - Simplify check in bxt_get_dsi_transcoder_state()
      - Add comment explaining why we check for valid dividers in
        bxt_dsi_pll_is_enabled()
      
      CC: Shashank Sharma <shashank.sharma@intel.com>
      CC: Uma Shankar <uma.shankar@intel.com>
      CC: Jani Nikula <jani.nikula@intel.com>
      Fixes: c6c794a2 ("drm/i915/bxt: Initialize MIPI DSI for BXT")
      Signed-off-by: NImre Deak <imre.deak@intel.com>
      Reviewed-by: NJani Nikula <jani.nikula@intel.com>
      Reviewed-by: NShashank Sharma <shashank.sharma@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1458816100-31269-1-git-send-email-imre.deak@intel.com
      db18b6a6
  10. 16 3月, 2016 2 次提交
  11. 03 3月, 2016 1 次提交
  12. 19 2月, 2016 1 次提交
  13. 08 1月, 2016 2 次提交
  14. 10 12月, 2015 1 次提交
  15. 06 10月, 2015 1 次提交
  16. 02 10月, 2015 3 次提交
  17. 23 9月, 2015 2 次提交
  18. 03 7月, 2015 3 次提交
  19. 28 5月, 2015 1 次提交
  20. 20 5月, 2015 2 次提交
  21. 11 12月, 2014 1 次提交
  22. 05 12月, 2014 2 次提交
  23. 08 8月, 2014 2 次提交
  24. 07 8月, 2014 1 次提交
    • S
      drm/i915: Add correct hw/sw config check for DSI encoder · f573de5a
      Shobhit Kumar 提交于
      Check in vlv_crtc_clock_get if DPLL is enabled before calling dpio read.
      It will not be enabled for DSI and avoid dpio read WARN dumps.
      
      Absence of ->get_config was causing other WARN dumps as well. Update
      dpll_hw_state as well correctly
      
      v2: Address review comments by Daniel
          - Check if DPLL is enabled rather than checking pipe output type
          - set adjusted_mode->flags to 0 in compute_config rather than using
            pipe_config->quirks
          - Add helper function in intel_dsi_pll.c and use that in intel_dsi.c
          - updated dpll_hw_state correctly
          - Updated commit message and title
      
      v3: Address review comments by Imre
          - Proper masking of P1, M1 fields while computing divisors
          - assert in case of bpp mismatch
          - guard for divide by 0 while computing pclk
          - Use ARRAY_SIZE instead of direct calculation
      Signed-off-by: NShobhit Kumar <shobhit.kumar@intel.com>
      Reviewed-by: NImre Deak <imre.deak@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      f573de5a
  25. 12 12月, 2013 2 次提交