Hello, can these two patches be pushed if everybody is fine with them? Thanks, Tomeu On 9 March 2016 at 16:57, Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx> wrote: > 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@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx