[Intel-gfx] [PATCH i-g-t v6 0/7] kms_flip_event_leak and kms_vblank fixes for VC4.

robert.foss at collabora.com robert.foss at collabora.com
Thu May 19 00:07:02 UTC 2016


From: Robert Foss <robert.foss at collabora.com>

Changes since v1:
- kms_vblank: Removed un-used members of data_t struct.
- Rename plane_counter to n_planes.
- Removed un-needed handling CURSOR plane location.
- Added names for additional planes in update kmstest_plane_name.

Changes since v2:
- Rebased onto trunk which already contains kms_flip_event_leak changes.

Changes since v3:
- kms_vblank: Removed drm_fd from data_t, to decrease the number of unrelated
  changes in the patch.
- kms_vblank: Changed "int valid_tests" to "unsigned valid_tests".
- kms_vblank: Changed crtc_id_flag/crtc_id_to_flag to
  pipe_id_flag/pipe_id_to_flag.
- kms_vblank: Changed to "vbl.request.type |= crtc_id_flag;".
- kms_vblank: Moved crtc_id_to_flag to igt_kms.c.
- kms_vblank: Renamed crtc_id_to_flag to pipe_id_to_vbl_flag.
- kms_flip: Changed test busy_mode boolean into mode_busy bitfield in struct
data.
- igt_kms: Moved IGT_PLANE_CURSOR position comment.

Changes since v4:
- kms_vblank: Removed whitespace at end of file.
- igt_kms: Changed name of helper function to kmstest_get_vbl_flag
- igt_kms: Changed kmstest_get_vbl_flag to not set DRM_VBLANK_RELATIVE flag

Changes since v5:
- kms_flip: Removed assertion that was too strict.
- igt_kms: Add assertions to verify format of vbl flag.

Robert Foss (7):
  lib/igt_kms: Add support for up to 10 planes.
  lib/igt_kms: Fix plane counting in igt_display_init.
  lib/igt_kms: Switch to verbose assert.
  lib/igt_kms: Added kmstest_get_vbl_flag to igt_kms.
  kms_vblank: Switch from using crtc0 statically to explicitly setting
    mode.
  igt_kms: Change igt_wait_for_vblank to use helper function.
  kms_flip: Change __wait_for_vblank to use helper function.

 lib/igt_kms.c      |  39 +++++++++++--
 lib/igt_kms.h      |   9 ++-
 tests/kms_flip.c   |   8 +--
 tests/kms_vblank.c | 161 ++++++++++++++++++++++++++++++++++++++++++++---------
 4 files changed, 181 insertions(+), 36 deletions(-)

-- 
2.7.4



More information about the Intel-gfx mailing list