1. 05 11月, 2014 6 次提交
  2. 03 10月, 2014 2 次提交
  3. 02 10月, 2014 3 次提交
  4. 01 10月, 2014 1 次提交
  5. 30 9月, 2014 2 次提交
    • R
      drm/i915: preserve other DP_TEST_SINK bits. · ce31d9f4
      Rodrigo Vivi 提交于
      Sink crc was implemented based on dp 1.1 spec that had all TEST_SINK bits
      reserved reading all 0s. But when reviewing my latest changes on sink crc
      Todd warned me that on new specs we have other valid bits on this reg that we
      might want to preserve.
      
      Cc: Todd Previte <tprevite@gmail.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NTodd Previte <tprevite@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      ce31d9f4
    • R
      drm/i915: Fix Sink CRC · ad9dc91b
      Rodrigo Vivi 提交于
      In some cases like when PSR just got enabled the panel need more vblank
      times to calculate CRC. I figured that out with the new PSR test cases
      facing some cases that I had a green screen but a blank CRC. Even with
      2 vblank waits on kernel + 2 vblank waits on test case.
      
      So let's give up to 6 vblank wait time. However we now check for
      TEST_CRC_COUNT that shows when panel finished to calculate CRC and
      has it ready.
      
      v2: Jani pointed out attempts decrements was wrong and should never reach
      the error condition. And Daniel pointed out that EIO is more appropriated than
      EGAIN. Also I realized that I have to read test_crc_count after setting
      test_sink
      
      v3: Rebase and adding error message
      
      Cc: Todd Previte <tprevite@gmail.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NTodd Previte <tprevite@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      ad9dc91b
  6. 29 9月, 2014 1 次提交
    • R
      drm/i915: Make sure PSR is ready for been re-enabled. · 8d7f4fe9
      Rodrigo Vivi 提交于
      Let's make sure PSR is propperly disabled before to re-enabled it.
      
      According to Spec, after disabled PSR CTL, the Idle state might occur
      up to 24ms, that is one full frame time (1/refresh rate),
      plus SRD exit training time (max of 6ms),
      plus SRD aux channel handshake (max of 1.5ms).
      
      So if something went wrong PSR will be disabled until next full
      enable/disable setup.
      
      v2: The 24ms above takes in account 16ms for refresh rate on 60Hz mode. However
      on low frequency modes this can take longer. So let's use 50ms for safeness.
      
      v3: Move wait out of psr.lock critical area.
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      8d7f4fe9
  7. 25 9月, 2014 1 次提交
  8. 24 9月, 2014 6 次提交
  9. 19 9月, 2014 4 次提交
  10. 18 9月, 2014 1 次提交
  11. 04 9月, 2014 8 次提交
  12. 03 9月, 2014 5 次提交