Age | Commit message (Collapse) | Author |
|
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>
|
|
Add virtual destructor so Card can be inherited.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note colorbar does not support 24 bit modes (RGB888 or BGR888) yet.
|
|
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>
|
|
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>
|
|
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>
|
|
Sort the declarations and add DrmPropObject.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
|