]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/external-libkmsxx.git/log
android/external-libkmsxx.git
6 years agokmstest: Separate reservation phase from command line parsing
Jyri Sarha [Fri, 5 Jan 2018 13:39:48 +0000 (15:39 +0200)]
kmstest: Separate reservation phase from command line parsing

In the new order the planes are not reserved before the whole command
line is parsed. This way we know the color format of the framebuffer
that is going to be on the reserved plane and we can select a plane
that supports the format. After this patch kmstest makes no distinction
between primary and overlay planes if atomic mode setting is
supported. If no plane is specified then a default plane, matching the
screen size is created.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agokmstest: Implement simplistic propery support behind -P flag.
Jyri Sarha [Fri, 5 Jan 2018 09:17:40 +0000 (11:17 +0200)]
kmstest: Implement simplistic propery support behind -P flag.

Non atomic modesetting is not supported and there is no translation
from various property types to unsigned 64-bit integer. Instead the
property values are simply converted from string with stoull(str, 0, 0).

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agopy: pyvid: Provide stream_off binding
Kieran Bingham [Wed, 13 Dec 2017 23:10:10 +0000 (23:10 +0000)]
py: pyvid: Provide stream_off binding

The videodevice module defines a stream_off function call, but this is
not available in the python bindings interface.

Provide the binding of VideoStreamer::stream_off.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agovideodevice: Fix minor spacing
Kieran Bingham [Wed, 13 Dec 2017 23:10:09 +0000 (23:10 +0000)]
videodevice: Fix minor spacing

Provide a space between the return type and the function definition

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agopy: add convert_vector helper
Tomi Valkeinen [Fri, 8 Dec 2017 06:57:56 +0000 (08:57 +0200)]
py: add convert_vector helper

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agopy: Add Card crtcs and encoders properties back to the Python bindings
Laurent Pinchart [Thu, 7 Dec 2017 18:20:54 +0000 (20:20 +0200)]
py: Add Card crtcs and encoders properties back to the Python bindings

Commit 706a44abb3aa ("Update to latest pybind11") removed the crtcs and
encoders properties from the Card class. Add them back by wrapping the
associated C++ methods manually due to a limitation of pybind11.

Fixes: 706a44abb3aa ("Update to latest pybind11")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agoFix Python bindings for Connector::get_possible_crtcs() method
Laurent Pinchart [Thu, 7 Dec 2017 16:06:40 +0000 (18:06 +0200)]
Fix Python bindings for Connector::get_possible_crtcs() method

The method returns an std::vector of DRMObject, which isn't supported by
the latest pybind11 as explained in commit 706a44abb3aa. Fix it by
wrapping the method manually.

Fixes: 706a44abb3aa ("Update to latest pybind11")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agopykms: keep Card alive until Blob is gone
Tomi Valkeinen [Fri, 24 Nov 2017 08:51:31 +0000 (10:51 +0200)]
pykms: keep Card alive until Blob is gone

6 years agotravis: add gcc6 & gcc7
Tomi Valkeinen [Fri, 24 Nov 2017 08:11:57 +0000 (10:11 +0200)]
travis: add gcc6 & gcc7

6 years agoUpdate to latest pybind11
Tomi Valkeinen [Fri, 24 Nov 2017 07:50:42 +0000 (09:50 +0200)]
Update to latest pybind11

Update to latest pybind11 HEAD. We can't use the latest tag (v2.2.0) as
it has a regression.

There were two problems when updating:

1) Difficulty in managing DrmObject derived classes

Most of the DrmObjects are owned by Card, and can't be allocated or
freed, but a few of them are allocated and freed by the user. For the
former, we need to use unique_ptr with py::nodelete, but that prevents
the latter from working.

The solution was to not tell the python that the latter classes derive
from DrmObject.

This seems to be missing feature in pybind11, but I think we can live
with it.

2) DrmObjects in STL containers

vector<T> where T is a DrmObject derived class doesn't work. We need to
have a manual wrapper to return vector<unique_ptr<T, py::nodelete>>
instead.

This also seems to be a pybind11 missing feature.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agoresman: use set<> instead of vector<>
Tomi Valkeinen [Wed, 22 Nov 2017 08:09:30 +0000 (10:09 +0200)]
resman: use set<> instead of vector<>

6 years agokmstest: use resman
Tomi Valkeinen [Wed, 22 Nov 2017 08:05:53 +0000 (10:05 +0200)]
kmstest: use resman

6 years agokmstest: rename ObjectType to ArgType
Tomi Valkeinen [Mon, 23 Oct 2017 08:11:17 +0000 (11:11 +0300)]
kmstest: rename ObjectType to ArgType

6 years agowbcap: support saving to file
Tomi Valkeinen [Tue, 24 Oct 2017 07:58:20 +0000 (10:58 +0300)]
wbcap: support saving to file

6 years agoutils: wbcap interlace support
Tomi Valkeinen [Fri, 20 Oct 2017 12:06:28 +0000 (15:06 +0300)]
utils: wbcap interlace support

6 years agoutils: improve wbcap
Tomi Valkeinen [Fri, 20 Oct 2017 10:07:34 +0000 (13:07 +0300)]
utils: improve wbcap

6 years agoCrtc: add set_mode() which doesn't take a fb
Tomi Valkeinen [Fri, 20 Oct 2017 08:33:53 +0000 (11:33 +0300)]
Crtc: add set_mode() which doesn't take a fb

6 years agoConnector: improve get_mode(string)
Tomi Valkeinen [Fri, 20 Oct 2017 08:33:31 +0000 (11:33 +0300)]
Connector: improve get_mode(string)

6 years agoCard: add disable_all()
Tomi Valkeinen [Fri, 20 Oct 2017 08:32:40 +0000 (11:32 +0300)]
Card: add disable_all()

6 years agoVideomode: add to_string()
Tomi Valkeinen [Fri, 20 Oct 2017 08:32:18 +0000 (11:32 +0300)]
Videomode: add to_string()

6 years agokmscube: update drm resource allocation
Tomi Valkeinen [Tue, 10 Oct 2017 08:16:19 +0000 (11:16 +0300)]
kmscube: update drm resource allocation

6 years agokmscube: drop non-atomic support
Tomi Valkeinen [Tue, 10 Oct 2017 08:06:46 +0000 (11:06 +0300)]
kmscube: drop non-atomic support

6 years agokmscapture: fix capture videomode heuristic
Tomi Valkeinen [Tue, 3 Oct 2017 09:45:59 +0000 (12:45 +0300)]
kmscapture: fix capture videomode heuristic

6 years agokmscapture: clean up fb handling
Tomi Valkeinen [Tue, 3 Oct 2017 09:37:59 +0000 (12:37 +0300)]
kmscapture: clean up fb handling

6 years agokmscapture: fix v4l buftype
Tomi Valkeinen [Mon, 2 Oct 2017 08:55:52 +0000 (11:55 +0300)]
kmscapture: fix v4l buftype

6 years agoRework framebuffer classes
Tomi Valkeinen [Tue, 3 Oct 2017 09:32:52 +0000 (12:32 +0300)]
Rework framebuffer classes

Drop (I)MappedFramebuffer, as it doesn't really provide any value, and
have most of the methods be present in IFramebuffer with default
exception throwing implementation.

This gives us simpler way to use the framebuffers, as almost always we
can just use a pointer to IFramebuffer.

6 years agocard: fix compile warning
Tomi Valkeinen [Tue, 3 Oct 2017 09:32:49 +0000 (12:32 +0300)]
card: fix compile warning

6 years agokmscube: compile fix
Tomi Valkeinen [Tue, 3 Oct 2017 09:11:07 +0000 (12:11 +0300)]
kmscube: compile fix

6 years agoadd ExtFramebuffer::prime_fd
Tomi Valkeinen [Mon, 2 Oct 2017 09:03:07 +0000 (12:03 +0300)]
add ExtFramebuffer::prime_fd

6 years agopy: drop the fancy event handling
Tomi Valkeinen [Tue, 5 Sep 2017 08:01:17 +0000 (11:01 +0300)]
py: drop the fancy event handling

Unfortunately the nice event handler added previously doesn't work: we
may get multiple page-flip events, which would lead to unref'ing the
passed python object multiple times, leading to memory corruption.

I guess it's only possible to pass a plain int as user data to commit()
and page_flip().

6 years agokmstest: fix --sync mode
Tomi Valkeinen [Mon, 4 Sep 2017 12:37:46 +0000 (15:37 +0300)]
kmstest: fix --sync mode

DRM sends page flips for each crtc in a commit. kmstest expected to get
a single flip event for a single commit, which caused --sync not to work
with two displays.

Fix this by making kmstest skip the first flip event.

6 years agokmstest: add help text about env variables
Tomi Valkeinen [Mon, 4 Sep 2017 06:28:49 +0000 (09:28 +0300)]
kmstest: add help text about env variables

6 years agokmstest: fix error in help text
Tomi Valkeinen [Fri, 4 Aug 2017 09:41:38 +0000 (12:41 +0300)]
kmstest: fix error in help text

6 years agokmsprint: print connectors even if disconnected
Tomi Valkeinen [Fri, 30 Jun 2017 07:01:09 +0000 (10:01 +0300)]
kmsprint: print connectors even if disconnected

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agotestpat: fix the location of second diagonal line
Tomi Valkeinen [Mon, 5 Jun 2017 07:19:38 +0000 (10:19 +0300)]
testpat: fix the location of second diagonal line

6 years agoMerge branch 'color-features' of git://github.com/jsarha/kmsxx
Tomi Valkeinen [Fri, 2 Jun 2017 09:14:11 +0000 (12:14 +0300)]
Merge branch 'color-features' of git://github.com/jsarha/kmsxx

6 years agoplane_csc.py: Test for different YCbCr encodings
Jyri Sarha [Fri, 12 May 2017 07:44:21 +0000 (10:44 +0300)]
plane_csc.py: Test for different YCbCr encodings

6 years agoAdd DrmPropObject.get_prop() and Property.enums to pykmsbase.cpp.
Jyri Sarha [Wed, 31 May 2017 14:48:52 +0000 (17:48 +0300)]
Add DrmPropObject.get_prop() and Property.enums to pykmsbase.cpp.

6 years agoAdd different YCbCr encodings.
Jyri Sarha [Tue, 9 May 2017 14:37:15 +0000 (17:37 +0300)]
Add different YCbCr encodings.

6 years agoAdd Crtc::disable_mode() to pykmsbase.cpp.
Jyri Sarha [Fri, 24 Mar 2017 20:45:31 +0000 (22:45 +0200)]
Add Crtc::disable_mode() to pykmsbase.cpp.

6 years agoAdd ctm_test.py test for testing CRTC's CTM color matrix property.
Jyri Sarha [Fri, 24 Mar 2017 20:47:53 +0000 (22:47 +0200)]
Add ctm_test.py test for testing CRTC's CTM color matrix property.

6 years agocam.py: fix initial modeset
Tomi Valkeinen [Wed, 31 May 2017 09:42:51 +0000 (12:42 +0300)]
cam.py: fix initial modeset

6 years agoomapfb: add flags for memory alloc
Tomi Valkeinen [Tue, 30 May 2017 10:57:53 +0000 (13:57 +0300)]
omapfb: add flags for memory alloc

6 years agoomapfb: add enum Flags for OmapFB
Tomi Valkeinen [Tue, 30 May 2017 10:56:28 +0000 (13:56 +0300)]
omapfb: add enum Flags for OmapFB

6 years agopy: move Rotation enum to __init__.py
Tomi Valkeinen [Tue, 30 May 2017 10:54:43 +0000 (13:54 +0300)]
py: move Rotation enum to __init__.py

6 years agopy: add rottest.py
Tomi Valkeinen [Thu, 18 May 2017 07:39:39 +0000 (10:39 +0300)]
py: add rottest.py

Add a test tool for rotation

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agoomapfb: add TILER support
Tomi Valkeinen [Thu, 18 May 2017 10:21:07 +0000 (13:21 +0300)]
omapfb: add TILER support

Add TILER rotation support for omapframebuffer.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agotestpat: white box in top left corner
Tomi Valkeinen [Wed, 10 May 2017 09:45:21 +0000 (12:45 +0300)]
testpat: white box in top left corner

6 years agodraw_char: use black bg for yuv
Tomi Valkeinen [Thu, 18 May 2017 10:16:49 +0000 (13:16 +0300)]
draw_char: use black bg for yuv

6 years agopykms: add videomode related features
Tomi Valkeinen [Mon, 27 Mar 2017 12:20:09 +0000 (15:20 +0300)]
pykms: add videomode related features

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agopykmsutil: add draw_text()
Tomi Valkeinen [Tue, 16 May 2017 12:10:10 +0000 (15:10 +0300)]
pykmsutil: add draw_text()

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agodraw_rect: support yuv modes
Tomi Valkeinen [Wed, 12 Apr 2017 07:20:16 +0000 (10:20 +0300)]
draw_rect: support yuv modes

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agopy: tests: Double buffered one big buffer on all connected screens
Peter Ujfalusi [Fri, 7 Apr 2017 10:29:26 +0000 (13:29 +0300)]
py: tests: Double buffered one big buffer on all connected screens

The test uses Atomic Mode Setting only and moves one horizontal bar
up/down in the framebuffer - which stretches through all connected
displays.

The flip mode can be selected with --flipmode <single, separate> :
single: Page flip on all displays with one request (default)
separate: Separate page flip on the displays

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agopy: omapfb: add missing properties
Tomi Valkeinen [Thu, 27 Apr 2017 10:58:42 +0000 (13:58 +0300)]
py: omapfb: add missing properties

6 years agoconnector: add DPI connector type
Tomi Valkeinen [Thu, 27 Apr 2017 10:01:12 +0000 (13:01 +0300)]
connector: add DPI connector type

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agoAdd Connector.connected to pykmsbase
Peter Ujfalusi [Fri, 7 Apr 2017 10:26:12 +0000 (13:26 +0300)]
Add Connector.connected to pykmsbase

It can be used to check if the connector is connected or not

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agoReturn primary plane already associated with the CRTC if it exists
Laurent Pinchart [Sun, 16 Apr 2017 16:07:40 +0000 (19:07 +0300)]
Return primary plane already associated with the CRTC if it exists

The Crtc::get_primary_plane() method returns the first primary plane
that supports the CRTC. While being correct, this could lead to multiple
primary planes being associated with the CRTC, which can confuse
applications. To avoid that, return insead the primary plane already
associated with the CRTC if one exists, otherwise keep the current
behaviour.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 years agopy: Add in fence test using swsync
Laurent Pinchart [Fri, 21 Apr 2017 10:46:57 +0000 (13:46 +0300)]
py: Add in fence test using swsync

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agotest.py: use atomic modesetting
Tomi Valkeinen [Mon, 10 Apr 2017 08:17:20 +0000 (11:17 +0300)]
test.py: use atomic modesetting

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agotrans-test.py: fix use of colors
Tomi Valkeinen [Fri, 7 Apr 2017 08:15:35 +0000 (11:15 +0300)]
trans-test.py: fix use of colors

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agoresmgr: fix reserve_plane()
Tomi Valkeinen [Thu, 30 Mar 2017 11:35:06 +0000 (14:35 +0300)]
resmgr: fix reserve_plane()

reserve_plane() had inverted check, and looked for any plane type but
the one that was requested.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agoresmgr: add sanity checks
Tomi Valkeinen [Fri, 24 Mar 2017 08:07:54 +0000 (10:07 +0200)]
resmgr: add sanity checks

Add sanity checks to reserve_* methods, and return null if the give
connector/crtc is null.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agoMerge branch 'universal-planes2' of git://github.com/jsarha/kmsxx
Tomi Valkeinen [Tue, 21 Mar 2017 13:04:24 +0000 (15:04 +0200)]
Merge branch 'universal-planes2' of git://github.com/jsarha/kmsxx

7 years agokmstest: check return values from reserve_*
Tomi Valkeinen [Tue, 21 Mar 2017 09:51:28 +0000 (11:51 +0200)]
kmstest: check return values from reserve_*

7 years agoutils: add EXIT_IF
Tomi Valkeinen [Tue, 21 Mar 2017 09:51:15 +0000 (11:51 +0200)]
utils: add EXIT_IF

7 years agoAdd plane_hog.py
Jyri Sarha [Tue, 14 Mar 2017 10:26:40 +0000 (12:26 +0200)]
Add plane_hog.py

plane_hog.py gets all possible planes for default connector's crtc,
enables them one by one, enables hdmi connector's crtc (if available)
and moves the planes there on by one.

7 years agopykms/pykmsutil.cpp: Add binding for reserve_generic_plane()
Jyri Sarha [Mon, 20 Mar 2017 16:23:17 +0000 (18:23 +0200)]
pykms/pykmsutil.cpp: Add binding for reserve_generic_plane()

7 years agoResourceManager: reserve_generic_plane() for either primary or overlay
Jyri Sarha [Sat, 11 Mar 2017 11:43:56 +0000 (13:43 +0200)]
ResourceManager: reserve_generic_plane() for either primary or overlay

7 years agoAdd modeset_event.py
Jyri Sarha [Mon, 6 Mar 2017 13:18:59 +0000 (15:18 +0200)]
Add modeset_event.py

modeset_event.py tests committing a full mode set asynchronously and
receiving a flip event about it.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agoAdd a simple and hackish plane scaling test.
Jyri Sarha [Mon, 6 Mar 2017 13:18:12 +0000 (15:18 +0200)]
Add a simple and hackish plane scaling test.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agopy: add DrmObject.idx
Tomi Valkeinen [Fri, 17 Mar 2017 07:29:49 +0000 (09:29 +0200)]
py: add DrmObject.idx

7 years agoAdd color format related methods and memebers to pykmsbase.
Jyri Sarha [Tue, 7 Mar 2017 16:05:06 +0000 (18:05 +0200)]
Add color format related methods and memebers to pykmsbase.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agoAdd Videomode::to_blob method to pykmsbase.
Jyri Sarha [Mon, 6 Mar 2017 13:16:31 +0000 (15:16 +0200)]
Add Videomode::to_blob method to pykmsbase.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agokmsprint: show plane's possible crtcs
Tomi Valkeinen [Mon, 13 Mar 2017 09:08:55 +0000 (11:08 +0200)]
kmsprint: show plane's possible crtcs

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agoplane: add get_possible_crtcs()
Tomi Valkeinen [Mon, 13 Mar 2017 09:08:40 +0000 (11:08 +0200)]
plane: add get_possible_crtcs()

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agopy: fix AtomicReq.commit() return value
Tomi Valkeinen [Mon, 13 Mar 2017 08:10:22 +0000 (10:10 +0200)]
py: fix AtomicReq.commit() return value

7 years agodb.py: remove old code
Tomi Valkeinen [Mon, 13 Mar 2017 07:56:07 +0000 (09:56 +0200)]
db.py: remove old code

7 years agokmstest: Add optional argument to the flip option to limit the flips
Laurent Pinchart [Fri, 10 Mar 2017 09:35:24 +0000 (11:35 +0200)]
kmstest: Add optional argument to the flip option to limit the flips

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agoNew event handling
Tomi Valkeinen [Wed, 8 Mar 2017 10:11:11 +0000 (12:11 +0200)]
New event handling

The current event handling relies on the PageFlipHandlerBase class which
has to be implemented on the python side.

This patch implements a more versatile event handling, where any python
object can be passed as data to the commit or page flip, and it's up to
the python implementation to decide what to do with that data when
receiving the event.

Note that when doing the commit or page_flip, the ref count of the
given python object is incremented to keep it alive. The ref count is
decremented when reading the events with the new helper method
card.read_events(). This helper _has_ to be used to ensure the objects
get released properly.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agopy: db.py: Add command line argument to specify connector
Laurent Pinchart [Thu, 2 Mar 2017 19:47:36 +0000 (21:47 +0200)]
py: db.py: Add command line argument to specify connector

When a command line argument is present, its value is used as a
connector name that the script will try to use.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agopy: Expose AtomicReq::add(std::map<>) method
Laurent Pinchart [Sun, 12 Feb 2017 14:45:46 +0000 (16:45 +0200)]
py: Expose AtomicReq::add(std::map<>) method

Only the AtomiqReq::add version that takes a single property is
currently exposed through the Python bindings. Expose the add method
that takes a list of properties as well.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agokmsview: Add connector command line argument
Laurent Pinchart [Sun, 12 Feb 2017 14:45:45 +0000 (16:45 +0200)]
kmsview: Add connector command line argument

The argument allows specifying which connector to display on. When not
set, the current behaviour is preserved.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agotest.py: add dmabuf & omap options
Tomi Valkeinen [Fri, 10 Feb 2017 09:15:35 +0000 (11:15 +0200)]
test.py: add dmabuf & omap options

7 years agopy: add ExtFramebuffer
Tomi Valkeinen [Fri, 10 Feb 2017 09:15:19 +0000 (11:15 +0200)]
py: add ExtFramebuffer

7 years agoomapfb: add constructor with fourcc
Tomi Valkeinen [Fri, 10 Feb 2017 09:13:05 +0000 (11:13 +0200)]
omapfb: add constructor with fourcc

7 years agoExtFb: pass params in vectors
Tomi Valkeinen [Fri, 10 Feb 2017 05:33:55 +0000 (07:33 +0200)]
ExtFb: pass params in vectors

7 years agopy: add DumbFb properties
Tomi Valkeinen [Fri, 10 Feb 2017 05:24:11 +0000 (07:24 +0200)]
py: add DumbFb properties

7 years agoimprove ExtFb
Tomi Valkeinen [Fri, 10 Feb 2017 05:03:38 +0000 (07:03 +0200)]
improve ExtFb

Inherit MappedFramebuffer and add map()

7 years agoExtFb: remove legacy constructor
Tomi Valkeinen [Fri, 10 Feb 2017 05:08:08 +0000 (07:08 +0200)]
ExtFb: remove legacy constructor

7 years agoPlaneType to bitmask
Tomi Valkeinen [Tue, 7 Feb 2017 11:58:52 +0000 (13:58 +0200)]
PlaneType to bitmask

7 years agokmstest: remove get_default_connector()
Tomi Valkeinen [Tue, 7 Feb 2017 11:43:19 +0000 (13:43 +0200)]
kmstest: remove get_default_connector()

7 years agouse reserve_connector from ResourceManager
Tomi Valkeinen [Tue, 7 Feb 2017 11:39:15 +0000 (13:39 +0200)]
use reserve_connector from ResourceManager

7 years agokmstest: Add --view option
Tomi Valkeinen [Tue, 7 Feb 2017 10:56:54 +0000 (12:56 +0200)]
kmstest: Add --view option

7 years agomappedframebuffer.h: add missing include
Tomi Valkeinen [Fri, 10 Feb 2017 05:03:26 +0000 (07:03 +0200)]
mappedframebuffer.h: add missing include

7 years agofix race issue in threaded test pattern draw
Tomi Valkeinen [Fri, 10 Feb 2017 04:56:39 +0000 (06:56 +0200)]
fix race issue in threaded test pattern draw

7 years agoSupport python2 based pykms binding
Alejandro Hernandez [Fri, 3 Feb 2017 15:11:58 +0000 (10:11 -0500)]
Support python2 based pykms binding

Previously only binding with python3 was supported, this patch allows
compilation of pykms with python3 or python2. When compiling with
python2 some of the python scripts located in the py/test will not work
since they import python3 only modules

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agoAdd README.md to custom targets
Tomi Valkeinen [Mon, 6 Feb 2017 10:57:38 +0000 (12:57 +0200)]
Add README.md to custom targets

7 years agoREADME: add note about python
Tomi Valkeinen [Fri, 27 Jan 2017 09:07:02 +0000 (11:07 +0200)]
README: add note about python

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agopy/tests: hpd test
Tomi Valkeinen [Fri, 27 Jan 2017 08:40:03 +0000 (10:40 +0200)]
py/tests: hpd test

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 years agowbcap: fix setup if a display is unconfigured
Tomi Valkeinen [Wed, 25 Jan 2017 11:20:43 +0000 (13:20 +0200)]
wbcap: fix setup if a display is unconfigured