All of lore.kernel.org
 help / color / mirror / Atom feed
* [i-g-t PATCH v2 0/2] Avoid calling DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID
@ 2016-03-09 15:57 Tomeu Vizoso
  2016-03-09 15:57 ` [i-g-t PATCH v2 1/2] lib: update kmstest_get_pipe_from_crtc_id Tomeu Vizoso
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tomeu Vizoso @ 2016-03-09 15:57 UTC (permalink / raw)
  To: Intel GFX discussion
  Cc: Daniel Stone, Tomeu Vizoso, Micah Fedke, Gustavo Padovan, Emil Velikov

Hi,

these two patches remove the two last uses of
DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID, with the intention of making the
tests runnable on !i915.

I have looked in the kernel and cannot find any point where the pipe ID
didn't match the index of the CRTC as returned by GETRESOURCES, so I'm
not increasing the required libdrm version for now.

I wasn't able to fully run intel-gpu-overlay with the kms backend, but I
have checked with gdb that the changed code keeps working correctly (on
my system the CRTC with ID 21 is chosen for the pipe 0).

Thanks,

Tomeu

Changes in v2:
- Fix include path as suggested by Thomas
- Remove some dead code

Micah Fedke (2):
  lib: update kmstest_get_pipe_from_crtc_id
  overlay: Remove crtc<->pipe mapping code from kms-overlay

 lib/igt_kms.c             | 33 ++++++++++++++++++++++++---------
 overlay/Makefile.am       |  4 ++--
 overlay/kms/kms-overlay.c | 16 ++++------------
 3 files changed, 30 insertions(+), 23 deletions(-)

-- 
2.5.0

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

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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-09 15:57 [i-g-t PATCH v2 0/2] Avoid calling DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID Tomeu Vizoso
2016-03-09 15:57 ` [i-g-t PATCH v2 1/2] lib: update kmstest_get_pipe_from_crtc_id Tomeu Vizoso
2016-04-18 12:09   ` Daniel Vetter
2016-04-18 12:20     ` Tomeu Vizoso
2016-04-20 12:35       ` Daniel Vetter
2016-03-09 15:57 ` [i-g-t PATCH v2 2/2] overlay: Remove crtc<->pipe mapping code from kms-overlay Tomeu Vizoso
2016-04-18  9:51 ` [i-g-t PATCH v2 0/2] Avoid calling DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID Tomeu Vizoso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.