Re: [PATCH v2 5/5] tests: make drm_read platform agnostic

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

 



On Tue, Aug 11, 2015 at 11:59:16AM -0400, Micah Fedke wrote:
> 
> Update the drm_read test to operate on any platform to demonstrate the use of
> drm_open_driver(OPEN_ANY_GPU).
> 
> To work on exynos, the event generation code is converted to use the new CRTC
> selection API for vblank.  The first valid crtc is selected at fixture-time.

Pardon? If exoynos doesn't implement the generic drmWaitVBlank(), fix
it.
 
> pipe0_enabled() is updated to use the drmMode* wrapper functions instead of
> direct ioctls, and the unnecessary, intel-specific pipe<->crtc mapping ioctl is
> dropped.

Just drop the pipe lookup, we can just indeed just use index 0.
 
> With these updates in place, drm_read can run successfully on intel and exynos.
> Tested on ivb and peach-pi, respectively.

You don't need to change that much, especially changing the path through
the kernel.

Nak.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://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