public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [i-g-t PATCH v1 0/2] Avoid calling DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID on !i915
@ 2016-04-19 11:40 Tomeu Vizoso
  2016-04-19 11:40 ` [i-g-t PATCH v1 1/2] lib: Remove superfluous kmstest_connector_config.pipe Tomeu Vizoso
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tomeu Vizoso @ 2016-04-19 11:40 UTC (permalink / raw)
  To: Intel GFX discussion
  Cc: Daniel Stone, Tomeu Vizoso, Micah Fedke, Gustavo Padovan,
	Emil Velikov

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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-20 14:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19 11:40 [i-g-t PATCH v1 0/2] Avoid calling DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID on !i915 Tomeu Vizoso
2016-04-19 11:40 ` [i-g-t PATCH v1 1/2] lib: Remove superfluous kmstest_connector_config.pipe Tomeu Vizoso
2016-04-19 11:40 ` [i-g-t PATCH v1 2/2] tests/kms_setmode: Remove superfluous call to kmstest_get_pipe_from_crtc_id Tomeu Vizoso
2016-04-20 14:14 ` [i-g-t PATCH v1 0/2] Avoid calling DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID on !i915 Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox