1. 30 Sep, 2014 1 commit
    • Rodrigo Vivi's avatar
      drm/i915: Fix Sink CRC · ad9dc91b
      Rodrigo Vivi authored
      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: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: default avatarTodd Previte <tprevite@gmail.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      ad9dc91b
  2. 29 Sep, 2014 4 commits
  3. 24 Sep, 2014 3 commits
  4. 23 Sep, 2014 2 commits
  5. 19 Sep, 2014 30 commits