Skip to content
Snippets Groups Projects
  1. Nov 22, 2022
  2. Oct 24, 2022
  3. Oct 20, 2022
    • Alex Hung's avatar
      tests/kms_cursor_legacy: allow an extra vblank in atomic-transitions tests · b99f94fc
      Alex Hung authored
      
      On i915 devices:
      kmstest_get_vblank() calls a drm_ioctl(DRM_IOCTL_WAIT_VBLANK), but
      vblanks are not updated until a following read() op triggers kernel to
      update vblank, ex. "[drm:drm_handle_vblank [drm]] vblank event on xxx".
      
      However, this is not the case for all devices:
      kmstest_get_vblank() triggers a drm_ioctl(DRM_IOCTL_WAIT_VBLANK),
      and then drm_wait_vblank_ioctl() in drm_vblank.c is called and
      returns vblank, ex. "[drm]] crtc 0 returning xxx to client" right away.
      In this scenario, the read() op does nothing related to vblank.
      
      Since the vblank can be updated before the read(), the extra vblank
      in commit da0b6abeshould also be allowed before the read().
      
      Signed-off-by: default avatarAlex Hung <alex.hung@amd.com>
      Reviewed-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      b99f94fc
  4. Oct 19, 2022
  5. Oct 18, 2022
    • Mark Yacoub's avatar
      Chamelium: Handle getting port connector if it's MST. · fdbafce2
      Mark Yacoub authored and Mark Yacoub's avatar Mark Yacoub committed
      
      [Why]
      When getting a connector for a port, the connector ID might be invalid
      after a replug if it's an MST connector. Getting the connector with just
      the connector ID will not always work.
      
      [How]
      Check if the connector is MST by checking the port's connector path.
      If it is, iterate through all connectors until a connector with a
      matching path is found.
      
      TEST=./kms_chamelium --run-subtest dp-hpd [on intel Volteer board with
      Chamelium V3 connected]
      
      Signed-off-by: default avatarMark Yacoub <markyacoub@chromium.org>
      Reviewed-by: Lyude Paul's avatarLyude Paul <lyude@redhat.com>
      fdbafce2
  6. Oct 17, 2022
  7. Oct 15, 2022
  8. Oct 14, 2022
  9. Oct 13, 2022
  10. Oct 12, 2022
Loading