11 Jan, 2012
3 commits
-
This patch converts the drivers in drivers/media/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.Cc: Mauro Carvalho Chehab
Cc: Laurent Pinchart
Cc: Kyungmin Park
Cc: Hans Verkuil
Cc: "Richard Röjfors"
Cc: "Matti J. Aaltonen"
Cc: Lucas De Marchi
Cc: Manjunath Hadli
Cc: Muralidharan Karicheri
Cc: Anatolij Gustschin
Cc: Guennadi Liakhovetski
Cc: Marek Szyprowski
Cc: Robert Jarzmik
Cc: Jonathan Corbet
Cc: Daniel Drake
Signed-off-by: Axel Lin
Acked-by: Laurent Pinchart
Acked-by: Guennadi Liakhovetski
Acked-by: Marek Szyprowski
Acked-by: Matti J. Aaltonen
Signed-off-by: Mauro Carvalho Chehab -
Adjusting of Video Processor's scaling factors was flawed. It bounded scaling
to range 1/16 to 1/1. The correct range should be 1/4 to 4/1. This patch fixes
this bug.Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Signed-off-by: Mauro Carvalho Chehab -
This patch add support for V4L2 selection API to s5p-tv driver. Moreover it
removes old API for cropping. Old applications would still work because the
crop ioctls are emulated using the selection API.Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Signed-off-by: Mauro Carvalho Chehab
31 Dec, 2011
1 commit
-
The advantage of kcalloc is, that will prevent integer overflows which could
result from the multiplication of number of elements and size and it is also
a bit nicer to read.The semantic patch that makes this change is available
in https://lkml.org/lkml/2011/11/25/107Signed-off-by: Thomas Meyer
Signed-off-by: Mauro Carvalho Chehab
25 Nov, 2011
1 commit
-
This patch fixes following build break:
Signed-off-by: Marek Szyprowski
Signed-off-by: Mauro Carvalho Chehab
04 Nov, 2011
1 commit
-
In preparation for the forthcoming VIDIOC_CREATE_BUFS ioctl add a
"const struct v4l2_format *" argument to the .queue_setup() vb2
operation.Signed-off-by: Guennadi Liakhovetski
Signed-off-by: Mauro Carvalho Chehab
26 Sep, 2011
3 commits
-
This patch fixes mbus configuration between Mixer, SDO and HDMI. The SDO
accepts only YUV444 on input. The HDMI in DVI mode accepts only RGB888. Now
Mixer is choosing proper output format depending on mbus format.Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Signed-off-by: Mauro Carvalho Chehab -
Current version of the driver does not support HDMI features
not present in DVI standard. Therefore DVI mode is used to
keep compatibility with DVI devices.Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Signed-off-by: Mauro Carvalho Chehab -
The TVOUT driver requires PM_RUNTIME support for proper clock
enabling.Signed-off-by: Hatim Ali
Signed-off-by: Marek Szyprowski
Signed-off-by: Mauro Carvalho Chehab
07 Sep, 2011
3 commits
-
This patch changes the order of operations during stream on call. Now the
buffers are first queued to the driver and then the start_streaming method
is called.This resolves the most common case when the driver needs to know buffer
addresses to enable dma engine and start streaming. Additional parameter
to start_streaming method have been added to simplify drivers code. The
driver are now obliged to check if the number of queued buffers is high
enough to enable hardware streaming. If not - it can return an error. In
such case all the buffers that have been pre-queued are invalidated.This patch also updates all videobuf2 clients to work properly with the
changed order of operations.Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
CC: Pawel Osciak
CC: Guennadi Liakhovetski
CC: Hans Verkuil
CC: Tomasz Stanislawski
CC: Sylwester Nawrocki
CC: Kamil Debski
CC: Jonathan Corbet
CC: Josh Wu
CC: Hans de Goede
CC: Paul Mundt
Tested-by: Josh Wu
Signed-off-by: Mauro Carvalho Chehab -
Use the correct 'dma_addr' name for the buffer address. 'paddr' suggested
that this is the physical address in system memory. For most ARM platforms
these two are the same, but this is not a generic rule. 'dma_addr' will
also point better to dma-mapping api.Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
CC: Pawel Osciak
Acked-by: Guennadi Liakhovetski
Signed-off-by: Mauro Carvalho Chehab -
Plane sizes array was declared as unsigned long[], while unsigned int is
more than enough for storing size of the video buffer. This patch reduces
the size of the array by definiting it as unsigned int[].Reported-by: Laurent Pinchart
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
CC: Pawel Osciak
Signed-off-by: Mauro Carvalho Chehab
28 Jul, 2011
3 commits
-
Add driver for TV Mixer on Samsung platforms from S5P family.
Mixer is responsible for merging images from three layers and
passing result to the output.Drivers are using:
- v4l2 framework
- videobuf2
- runtime PMSigned-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Reviewed-by: Marek Szyprowski
Reviewed-by: Sylwester Nawrocki
Reviewed-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Add drivers for Standard Definition output (SDO) on Samsung platforms
from S5P family. The driver provides control over streaming analog TV
via Composite connector.Driver is using:
- v4l2 framework
- runtime PMSigned-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Reviewed-by: Marek Szyprowski
Reviewed-by: Sylwester Nawrocki
Reviewed-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Add drivers for HDMI outputs on Samsung platforms from S5P family.
Drivers are using:
- v4l2 framework
- runtime PMSigned-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Reviewed-by: Marek Szyprowski
Reviewed-by: Sylwester Nawrocki
Reviewed-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab