[Intel-gfx] [i-g-t PATCH v1 0/2] Avoid calling DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID on !i915
Tomeu Vizoso
tomeu.vizoso at collabora.com
Tue Apr 19 11:40:26 UTC 2016
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
More information about the Intel-gfx
mailing list