Age | Commit message (Collapse) | Author |
|
Uses drmOpen() to do the heavy lifting.
|
|
This is an escape hatch to let the user do whatever crazy thing he
wants to obtain the DRM fd. This could be from a DRM lease, an FD
passed across a Wayland protocol request, something calculated by
manually walking across the set of DRI cards and selecting specific
criteria, etc.
|
|
fix compiler errors with gcc 10
|
|
resmgr: add release() methods
|
|
|
|
This makes the ResourceManager class much more functional
for uses where the set of resources used to scan out a
scene changes from frame to frame. The atomic modesetting
API discipline requires a brute-force search to find a
compatible pairing of planes/etc, and being able to reserve
bits incrementally is much simpler than throwing out the
entire resourcemanager and make a new one each time a
resource reserved in a tentative attempt to probe its
compatibility with an test-mode atomic commit, turns out not
to pan out.
|
|
Allow kmstest to enable an output without anything connected, if the
user gives a videomode. DRM framework allows this, and is needed for
testing.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
|
|
|
|
Add an option to print crc16 for the framebuffer contents.
|
|
Only single touch supported, and pretty naive implementation.
|
|
|
|
|
|
stag-aosp-master am: db553c2648 -s ours am: 1cab10beff am: 30b3a10668
Change-Id: Idc3735d94f7a854e4dd53c6ecf993d59679bcd69
|
|
stag-aosp-master am: db553c2648 -s ours am: 1cab10beff
Change-Id: I414187920e787b2c1dca8038093350a839833a90
|
|
stag-aosp-master am: db553c2648 -s ours
am skip reason: subject contains skip directive
Change-Id: I25a467e8179ace6bb245c4752c11dfe167d224e2
|
|
Bug: 151763422
Change-Id: Ia44e9fd77e4ddaec2fe84a1d3faac935ea5b986a
|
|
Include array
|
|
am: e5b51255e9 am: 05e4989917 am: 3d79004885
Change-Id: I64848cf4196f5ce010fa415fb8d3dd8aae98f91c
|
|
am: e5b51255e9 am: 05e4989917
Change-Id: I253495f7cfb5cf19e57beae094af2076b0adbf48
|
|
am: e5b51255e9
Change-Id: I8d2df6455367a3181d17aba87781c4881c885646
|
|
am: e5b51255e9
Change-Id: Ib50722231c5b9cd1f3d7b60df6b7f1cb34af4476
|
|
Change-Id: Idb1bb2458e81a28f001d2169f71b1fac5969593d
|
|
Exempt-From-Owner-Approval: upgrade
Change-Id: I6c7aae30d8ba09e05d47b03b55c58ac782097742
|
|
|
|
eda3b5c0ff am: 3a54ea5363
Change-Id: Idad254368dd089279fe8708aa5f5558f06d64f84
|
|
eda3b5c0ff
Change-Id: Ie914c5532e0e72ea9d5149d4f50488c14c55ffb4
|
|
Change-Id: Id5a5f75bc5d46c760f380bce5ec8becf430524c6
|
|
Change-Id: I1096e01114478439883c76580c15019815a47a96
|
|
Change-Id: I7403860644e5701c589d6441e834266fc651b6fa
|
|
Now that http://aosp/1235427 and http://aosp/1238719 are in, NOTICE
symbolic links are no longer needed.
Bug: 67772237
Bug: 68860345
Test: manually built and diffed before and after system image notices
Exempt-From-Owner-Approval: no owner
Change-Id: I15eb41dbddf83a4c1d8e8946310dbec644f837dc
|
|
Supply pkg-config files
|
|
These are customary, and pretty straightforward to offer.
|
|
Py tests tidss updates v3
|
|
|
|
|
|
|
|
PixelFormat is an uint32_t underneath, so use that type instead of int
when casting.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
|
|
|
|
Link libfmt in header-only mode
|
|
This saves us the trouble of having a copy of its shared library
installed into the target filesystem, which would conflict with
an independently packaged copy.
Only the headers are needed to accomplish the usages that Kms++
makes.
|
|
Add an build option to allow explicitly shutting off libdrm-omap
features. This is useful for packaging situations to prevent
accidental unexpected features.
To deactivate the drm-omap specific functionality that was activated
unconditionally if present until now, use:
cmake -DKMSXX_ENABLE_LIBDRMOMAP=OFF
Signed-off-by: Matt Hoosier <matt.hoosier@garmin.com>
|
|
This makes package managers happier when the software is built
as a dynamic-library.
Signed-off-by: Matt Hoosier <matt.hoosier@garmin.com>
|
|
Many GPUs use bandwidth compression or tiling, and this information
must be passed along to KMS when constructing the framebuffer object
around the GEM handle or prime filedescriptor.
Add an vector of modifiers as an optional parameter to both of these
classes.
Bump the minimum required version of libdrm to 2.4.17 to ensure
drmModeAddFB2WithModifiers() is available.
Signed-off-by: Matt Hoosier <matt.hoosier@garmin.com>
|
|
Use std::array and .at() to get bounds checking.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
|
|
Check that parameter vectors are of the same size, and match the number
of planes.
Extend the vectors to 4, as drmModeAddFB2() expects to get arrays of 4
elements.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: Matt Hoosier <matt.hoosier@garmin.com>
|
|
Misc improvements
|
|
|
|
|
|
|
|
|