[i-g-t PATCH v1 0/2] Avoid calling DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID on !i915

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

following Daniel's comments on a previous series that completely removed
usage of DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID, I'm sending this one that
removes it only on codepaths that can be run on drivers other than i915.

It does so by using the already-available crtc indexes instead of
querying for the pipe number (which should return the same value).

Thanks,

Tomeu


Tomeu Vizoso (2):
  lib: Remove superfluous kmstest_connector_config.pipe
  tests/kms_setmode: Remove superfluous call to
    kmstest_get_pipe_from_crtc_id

 lib/igt_kms.c                     | 24 +++++++++++-------------
 lib/igt_kms.h                     |  1 -
 tests/kms_crtc_background_color.c |  2 +-
 tests/kms_flip.c                  | 10 +++++-----
 tests/kms_flip_tiling.c           |  2 +-
 tests/kms_panel_fitting.c         |  2 +-
 tests/kms_plane_scaling.c         |  2 +-
 tests/kms_render.c                |  2 +-
 tests/kms_setmode.c               |  5 +----
 tests/testdisplay.c               |  1 -
 10 files changed, 22 insertions(+), 29 deletions(-)

-- 
2.5.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux