summaryrefslogtreecommitdiff
path: root/v4l2-drm-example
AgeCommit message (Collapse)Author
2013-03-13v4l2-drm-example: Fix rectangle parsingLaurent Pinchart
The left and top coordinates are parsed in the wrong order. Fix this. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Sort options alphabetically and by categoryLaurent Pinchart
Sort the options alphabetically in the code, and by category in the help message. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Don't enqueue initial page flipLaurent Pinchart
There's no need to enqueue an initial page flip. Don't do it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Factor out page flippingLaurent Pinchart
Factor the common page flip code out to a function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Factor out v4l2 buffer queuing and dequeingLaurent Pinchart
Factor the common buffer queuing code out to a function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Factor out drm and v4l2 device initializationLaurent Pinchart
Create drm and v4l2 device objects and factor the initialization code out of main(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Stop mode lookup at first matchLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Fix compiler warnings on 64-bit machinesLaurent Pinchart
Casting a 32-bit integer to a void * generates a warning. Fix it by casting the integer to an unsigned long first. This has no effect on 32-bit machines as unsigned long are 32-bit integers there. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Fix compiler warningsLaurent Pinchart
Mark unused function parameters as unused and fix signed vs. unsigned comparisons. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Use connector IDs instead of connector indicesLaurent Pinchart
Specify the requested connector on the command line by its KMS ID instead of the connector index in the connectors array. This makes command line arguments match the information returned by KMS test tools such as modetest. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Use dumb GEM buffersLaurent Pinchart
The GEM buffers we allocate will only be used as backing memory for the frame buffer. Dumb GEM buffers can fullfill that task and remove dependencies on the Exynos driver. Use them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-22v4l2-drm-example: add Apache LicenseTomasz Stanislawski
2012-04-12v4l2-drm-example: dmabuf-sharing: version 0.1Tomasz Stanislawski