aboutsummaryrefslogtreecommitdiffstats
path: root/kms++
Commit message (Collapse)AuthorAgeFilesLines
* libkmsxx: Add include of <cerrno.h> to various filesAndrew F. Davis2018-09-273-0/+4
| | | | | | Test: Boot to UI with BeagleBoard X15 Change-Id: I323cbcc908056765ea231991d70488452c0010a5 Signed-off-by: Andrew F. Davis <afd@ti.com>
* Crtc: add set_mode() which doesn't take a fbTomi Valkeinen2017-10-202-0/+23
|
* Connector: improve get_mode(string)Tomi Valkeinen2017-10-201-4/+17
|
* Card: add disable_all()Tomi Valkeinen2017-10-202-0/+22
|
* Videomode: add to_string()Tomi Valkeinen2017-10-202-0/+13
|
* Rework framebuffer classesTomi Valkeinen2017-10-0310-71/+28
| | | | | | | | | 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.
* card: fix compile warningTomi Valkeinen2017-10-031-5/+3
|
* add ExtFramebuffer::prime_fdTomi Valkeinen2017-10-032-0/+11
|
* omapfb: add flags for memory allocTomi Valkeinen2017-05-302-0/+12
|
* omapfb: add enum Flags for OmapFBTomi Valkeinen2017-05-302-9/+15
|
* omapfb: add TILER supportTomi Valkeinen2017-05-242-17/+61
| | | | | | Add TILER rotation support for omapframebuffer. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* connector: add DPI connector typeTomi Valkeinen2017-04-271-0/+4
| | | | Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* Return primary plane already associated with the CRTC if it existsLaurent Pinchart2017-04-211-1/+9
| | | | | | | | | | | | 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>
* plane: add get_possible_crtcs()Tomi Valkeinen2017-03-132-0/+26
| | | | Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* omapfb: add constructor with fourccTomi Valkeinen2017-02-102-0/+6
|
* ExtFb: pass params in vectorsTomi Valkeinen2017-02-102-6/+6
|
* improve ExtFbTomi Valkeinen2017-02-102-7/+81
| | | | Inherit MappedFramebuffer and add map()
* ExtFb: remove legacy constructorTomi Valkeinen2017-02-102-12/+0
|
* PlaneType to bitmaskTomi Valkeinen2017-02-102-6/+16
|
* mappedframebuffer.h: add missing includeTomi Valkeinen2017-02-091-0/+2
|
* Add refresh() to connector, crtc and encoderTomi Valkeinen2017-01-256-1/+37
| | | | Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* crtc: add disable_mode()Tomi Valkeinen2016-12-202-0/+6
| | | | | | Add crtc::disable_mode() for disabling the crtc. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* Add OmapCard and OmapFramebufferTomi Valkeinen2016-11-216-1/+245
| | | | | | | Add OmapCard and OmapFramebuffer classes to utilize omap_bos. Only non-tiled framebuffer is implemented for now. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* Add MappedFramebufferTomi Valkeinen2016-11-215-3/+46
| | | | | | | | Add a base MappedFramebuffer class, which inherits Framebuffer and implements IMappedFramebuffer. This helps to implement platform specific framebuffer classes, like OmapFramebuffer. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* dumbfb: pass O_RDWR to drmPrimeHandleToFD()Tomi Valkeinen2016-11-031-1/+1
| | | | | | This enables write access to the dumb fb with mmap(). Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* modedb_dmt: update tableTomi Valkeinen2016-10-111-393/+187
| | | | Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* kms++: add videomode_from_cvt()Tomi Valkeinen2016-10-112-0/+164
| | | | Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* Add comment about ilaceTomi Valkeinen2016-10-111-0/+1
| | | | Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* Improve mode findingTomi Valkeinen2016-09-293-3/+39
| | | | | | | | Change calculated_vrefresh to round to 2 decimals, and do two rounds when looking for a mode: first look for exact vrefresh match, then look for rounded match. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* Card: virtual destructorTomi Valkeinen2016-09-271-1/+1
| | | | | | Add virtual destructor so Card can be inherited. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* Improve struct VideomodeTomi Valkeinen2016-09-262-3/+98
| | | | | | | | Enable set/get for sync polarities and interlace. Add videomode_from_timings() helper to construct Videomode from non-X timings. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* Fix error printsTomi Valkeinen2016-09-011-2/+2
|
* AtomicReq: add add_display() helperTomi Valkeinen2016-08-152-0/+28
|
* support finding fractional vrefreshTomi Valkeinen2016-08-154-15/+17
|
* modedb: fix vrefresh for ilaceTomi Valkeinen2016-08-152-3/+4
|
* testpat & kmsprint: improve mode printsTomi Valkeinen2016-08-152-0/+13
|
* add basic cmake install systemTomi Valkeinen2016-08-111-2/+11
|
* Add BGR888 (BG24) and BGR565 (BG16) pixelformats.Jyri Sarha2016-08-112-0/+4
| | | | Note colorbar does not support 24 bit modes (RGB888 or BGR888) yet.
* Fix property name lookupTomi Valkeinen2016-07-105-13/+17
| | | | | | | Object types can have different properties with the same name, so we need to move name-based property lookup from Card to DrmPropObject. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* kms++: fix AtomicReq compilationTomi Valkeinen2016-07-101-1/+1
| | | | | | | | | 4fb69b7d20e90746855de122422ac9cabd78f66f ("kms++: use DrmPropObject in AtomicReq") made AtomicReq::add() use a not-yet-implemented method. Fix this by changing that line back. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* kms++: use DrmPropObject in AtomicReqTomi Valkeinen2016-06-222-7/+7
| | | | | | | The objects to which we set properties with AtomicReq must have properties, so they are DrmPropObjects instead of DrmObjects. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* kms++: update decls.hTomi Valkeinen2016-06-221-4/+5
| | | | | | Sort the declarations and add DrmPropObject. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
* Framebuffer: don't crash is drmModeGetFB() returns 0Tomi Valkeinen2016-06-201-4/+8
|
* Add Framebuffer::flush()Tomi Valkeinen2016-06-202-0/+12
|
* Support RGB888Tomi Valkeinen2016-06-162-0/+4
|
* kms++: organize into subdirsTomi Valkeinen2016-06-1141-24/+25
|
* rename libkms to kms++Tomi Valkeinen2016-06-111-2/+2
|
* rename dirsTomi Valkeinen2016-06-1141-0/+3073