[Intel-gfx] [PATCH i-g-t 0/7] Misc fixes and cleanup

Brian Starkey brian.starkey at arm.com
Tue Apr 25 16:45:06 UTC 2017


Hi,

This is not really a series but a set of miscellaneous fixes and
cleanup.

It should be mostly noncontroversial, with the exception of perhaps
the last two patches.

Patch 6 splits all of the igt_crc code out of igt_debugfs into a
separate file. The goal here was to make it easier to add new
CRC-related code without falling afoul of churn within igt_debugfs (of
which there's been a fair amount while I've been carrying these
patches). Eventually, the intention is to add support for igt_crc via
writeback connectors here, but I understand if this patch should stay
out until then.

Patch 7 allows "video=" on the kernel command-line to override a
connector's default mode. I don't know if that's widely useful, but we
like to use it on our FPGA platforms.

All comments/feedback welcome,

Thanks,
Brian

Brian Starkey (7):
  lib/igt_kms: Fix erroneous assert
  lib/igt_kms: Fix override_mode handling
  lib: Stop igt_get_all_cairo_formats memory leak
  lib/igt_debugfs: Remove igt_debugfs_t
  lib/igt_debugfs: Only use valid values in igt_crc_to_str()
  igt: lib/igt_crc: Split out CRC functionality
  lib/igt_kms: Use kernel command line mode if specified

 lib/Makefile.sources              |    2 +
 lib/igt_chamelium.h               |    1 +
 lib/igt_crc.c                     |  563 +++++++++++++++++++++++++++++++++++++
 lib/igt_crc.h                     |  125 ++++++++
 lib/igt_debugfs.c                 |  551 ------------------------------------
 lib/igt_debugfs.h                 |   81 ------
 lib/igt_fb.c                      |    4 +-
 lib/igt_fb.h                      |    2 +-
 lib/igt_kms.c                     |  157 ++++++++++-
 tests/chamelium.c                 |    1 +
 tests/kms_atomic.c                |    3 +-
 tests/kms_atomic_transition.c     |    1 +
 tests/kms_ccs.c                   |    1 +
 tests/kms_chv_cursor_fail.c       |    1 +
 tests/kms_crtc_background_color.c |    1 +
 tests/kms_cursor_crc.c            |    1 +
 tests/kms_cursor_legacy.c         |    1 +
 tests/kms_draw_crc.c              |    1 +
 tests/kms_fbc_crc.c               |    1 +
 tests/kms_flip_tiling.c           |    1 +
 tests/kms_frontbuffer_tracking.c  |    1 +
 tests/kms_mmap_write_crc.c        |    1 +
 tests/kms_mmio_vs_cs_flip.c       |    1 +
 tests/kms_pipe_color.c            |    1 +
 tests/kms_pipe_crc_basic.c        |    1 +
 tests/kms_plane.c                 |    1 +
 tests/kms_plane_lowres.c          |    1 +
 tests/kms_plane_multiple.c        |    1 +
 tests/kms_plane_scaling.c         |    1 +
 tests/kms_pwrite_crc.c            |    1 +
 tests/kms_render.c                |    4 +-
 tests/kms_rotation_crc.c          |    1 +
 tests/kms_universal_plane.c       |    1 +
 tools/intel_display_crc.c         |    1 +
 34 files changed, 867 insertions(+), 649 deletions(-)
 create mode 100644 lib/igt_crc.c
 create mode 100644 lib/igt_crc.h

-- 
1.7.9.5



More information about the Intel-gfx mailing list