summaryrefslogtreecommitdiff
path: root/kms++
AgeCommit message (Collapse)Author
2017-05-24omapfb: add TILER supportTomi Valkeinen
Add TILER rotation support for omapframebuffer. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-04-27connector: add DPI connector typeTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-04-21Return primary plane already associated with the CRTC if it existsLaurent Pinchart
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>
2017-03-13plane: add get_possible_crtcs()Tomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-02-10omapfb: add constructor with fourccTomi Valkeinen
2017-02-10ExtFb: pass params in vectorsTomi Valkeinen
2017-02-10improve ExtFbTomi Valkeinen
Inherit MappedFramebuffer and add map()
2017-02-10ExtFb: remove legacy constructorTomi Valkeinen
2017-02-10PlaneType to bitmaskTomi Valkeinen
2017-02-10mappedframebuffer.h: add missing includeTomi Valkeinen
2017-01-25Add refresh() to connector, crtc and encoderTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-12-20crtc: add disable_mode()Tomi Valkeinen
Add crtc::disable_mode() for disabling the crtc. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-11-21Add OmapCard and OmapFramebufferTomi Valkeinen
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>
2016-11-21Add MappedFramebufferTomi Valkeinen
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>
2016-11-03dumbfb: pass O_RDWR to drmPrimeHandleToFD()Tomi Valkeinen
This enables write access to the dumb fb with mmap(). Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-10-11modedb_dmt: update tableTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-10-11kms++: add videomode_from_cvt()Tomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-10-11Add comment about ilaceTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-29Improve mode findingTomi Valkeinen
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>
2016-09-27Card: virtual destructorTomi Valkeinen
Add virtual destructor so Card can be inherited. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-26Improve struct VideomodeTomi Valkeinen
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>
2016-09-01Fix error printsTomi Valkeinen
2016-08-15AtomicReq: add add_display() helperTomi Valkeinen
2016-08-15support finding fractional vrefreshTomi Valkeinen
2016-08-15modedb: fix vrefresh for ilaceTomi Valkeinen
2016-08-15testpat & kmsprint: improve mode printsTomi Valkeinen
2016-08-11add basic cmake install systemTomi Valkeinen
2016-08-11Add BGR888 (BG24) and BGR565 (BG16) pixelformats.Jyri Sarha
Note colorbar does not support 24 bit modes (RGB888 or BGR888) yet.
2016-07-10Fix property name lookupTomi Valkeinen
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>
2016-07-10kms++: fix AtomicReq compilationTomi Valkeinen
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>
2016-06-22kms++: use DrmPropObject in AtomicReqTomi Valkeinen
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>
2016-06-22kms++: update decls.hTomi Valkeinen
Sort the declarations and add DrmPropObject. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-06-20Framebuffer: don't crash is drmModeGetFB() returns 0Tomi Valkeinen
2016-06-20Add Framebuffer::flush()Tomi Valkeinen
2016-06-16Support RGB888Tomi Valkeinen
2016-06-11kms++: organize into subdirsTomi Valkeinen
2016-06-11rename libkms to kms++Tomi Valkeinen
2016-06-11rename dirsTomi Valkeinen