aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-20Mark ab/7061308 as merged in stage.android-s-beta-5android-s-beta-4android-s-beta-3android-s-beta-2android-s-beta-1android-s-beta-5android-s-beta-4Xin Li
Bug: 180401296 Merged-In: Ie0f77abf4416296aef54b2519f5ec1db072b4fe9 Change-Id: I1142f68e04f3581b3fe39e9f83018ef5f10ff689
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to external/libkmsxx am: 1c077f2a88Bob Badour
Original change: https://android-review.googlesource.com/c/platform/external/libkmsxx/+/1589015 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ic9e6688fd314a68cc96bbe92c31a28b5c94986d1
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to external/libkmsxxandroid-s-preview-1Bob Badour
Added SPDX-license-identifier-BSD SPDX-license-identifier-MIT SPDX-license-identifier-MPL SPDX-license-identifier-MPL-2.0 to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I1515a43a1cda51f343b50395afb6301cb32e667c
2021-01-06Upgrade libkmsxx to b12aab5d4bb45e77934d9838576a817bc8defe4b am: a520d8d4beHaibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/libkmsxx/+/1541424 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4464b1e79aaa9464aa75c6c5386ceb00fc3a1221
2021-01-05Upgrade libkmsxx to b12aab5d4bb45e77934d9838576a817bc8defe4bHaibo Huang
Test: make Change-Id: Idd56ac32bad88e8b00d108fc143340d33faac531
2020-12-18meson: split "utils" option into libutils and utilsTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
2020-12-16Remove CMake supportTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
2020-12-16Remove pybind11 git submoduleTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-12-16meson: add option to use system pybind11 or subprojectTomi Valkeinen
Add 'system-pybind11' option. enabled = use pybind11 from the system disabled = use pybind11 from meson subproject auto = use pybind11 from the system, or, if not available, subproject Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-12-16Add meson subproject wrap for pybind 2.6.0Tomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-12-16meson_options: add descriptions and reorganizeTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-12-16Use system libfmtTomi Valkeinen
libfmt is available on standard PC distros and on buildroot, so lets just use the system provided libfmt instead of a git submodule. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-12-03gamma.py: support legacy & non-legacy gammaTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-12-03crtc: add legacy gamma setTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-12-03atomicreq: throw on non-existing propertyTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-12-01Upgrade libkmsxx to 6fa8696774c4bda4bb7e3efabd7e1e58a899f5c1 am: 5b6da2e7ea ↵Haibo Huang
am: 787316a981 Original change: https://android-review.googlesource.com/c/platform/external/libkmsxx/+/1512941 Change-Id: Ie0f77abf4416296aef54b2519f5ec1db072b4fe9
2020-12-01Upgrade libkmsxx to 6fa8696774c4bda4bb7e3efabd7e1e58a899f5c1 am: 5b6da2e7eaHaibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/libkmsxx/+/1512941 Change-Id: I62e9551616c8375ca837f3601211c9f43c915870
2020-12-01Upgrade libkmsxx to 6fa8696774c4bda4bb7e3efabd7e1e58a899f5c1Haibo Huang
Test: make Exempt-From-Owner-Approval: my ldap changed [adelva: updated OWNERS with my new LDAP] Change-Id: I89587f0eb3fd620963dfbb817f30a62dda78b1f2
2020-12-01Fix clang-tidy reported issuesTomi Valkeinen
2020-12-01Add .clang-tidyTomi Valkeinen
2020-10-20py: add -fvisibility=hiddenTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-10-20meson: fix build with thread supportTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-10-20meson: add 'util' option to disable kms++util and utilsTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-10-09rename omap wb utils to omap-wbTomi Valkeinen
2020-10-09Bulk format of all filesTomi Valkeinen
2020-10-09Add .clang-format and format-all scriptTomi Valkeinen
2020-10-09gitignore: add *.pycTomi Valkeinen
2020-10-09dmabuffb: add constructor which takes in string fourccTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-10-09Merge pull request #59 from virusxp/gcc10_compabilityTomi Valkeinen
added #include <string> to card.h to follow gcc10 porting guide
2020-10-08added #include <string> to card.h to follow gcc10 porting guideTobias Off
2020-10-03py: move framebuffer functions to correct placeTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-10-02Small Property improvementsTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-10-02meson.build: add static-libc optionTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-09-29Fix Plane::get_possible_crtcsTomi Valkeinen
Looks like RPi gives 0xff as possible_crtcs, even if there's only one crtc. The current code throws an exception in that case. Fix this by just ignoring non-existent possible crtcs. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-09-14Update README for meson buildTomi Valkeinen
2020-09-14Change travis to use mesonTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-09-14Add meson buildTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-09-14Rename esTransform.c to .cppTomi Valkeinen
This was the only C file in the project, so now we're "pure" c++. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-09-08Travis: add llvm-dev packages to add gold linkerTomi Valkeinen
2020-09-08Move to c++17Tomi Valkeinen
It's time. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-09-05Update travis to ubuntu 20.04Tomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-09-05Drop python2Tomi Valkeinen
I don't think python2 even works with kms++. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-09-05kmscapture: remove unneeded xf86drm.h includeTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-08-10kms++: Add support for missing 8 -and 16-bit RGB formatsLaurent Pinchart
Add support for the RGB332, XRGB1555 and XRGB4444 formats to the PixelFormat class, the Python API, and the drawing utilities. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-08-10kms++: Add support for the planar YUV formatsLaurent Pinchart
Add support for the 6 planar YUV formats (YUV and YVU, combined with 420, 422 or 444 subsampling) to the PixelFormat class, the Python API, and the drawing utilities. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-08-10kms++: Add support for semiplanar YUV422 formats (NV16 and NV61)Laurent Pinchart
Add support for the NV16 and NV61 pixel formats to the PixelFormat class, the Python API, and the drawing utilities. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-08-10pykmsbase: Add missing pixel formatsLaurent Pinchart
Several pixel formats defined in the C++ PixelFormat class are missing from the Python API. Add them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-08-10dumbfb: Fix pitch for tri-planar formatsLaurent Pinchart
The BO pitches are unconditionally set to the frame buffer pitch, for all planes. This is correct for semiplanar YUV formats, as they subsample chroma horizontally by two but combined U and V in a single plane, cancelling each other. For fully planar YUV formats, however, the horizontal subsampling need to be taken into account to compute the pitch. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-08-10dumbfb: Add support tri- or quadri-planar buffersLaurent Pinchart
The DumbFrameBuffer class supports up to 4 planes, as required by the DRM/KMS API, but only considers planes 0 and 1 when constructing the buffer. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-08-10card: Rename has_has_universal_planes to has_universal_planesLaurent Pinchart
The has_has_universal_planes() method name includes a typo, fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>