- Sep 23, 2019
-
-
Phil Elwell authored
Before 4.20, it was possible to build an arbitrary overlay by copying it to arm/boot/dts/overlays/mytest-overlay.dts and running: make ARCH=arm overlays/mytest.dtbo In 4.20 the .dtb build rules were centralised, requiring the dowstream .dtbo build rules to be changed. They were, enough to support "make ... dtbs", but not sufficiently to allow this ad-hoc, one-off building of individual files. Add the missing makefile rule to support this way of building. See: https://github.com/raspberrypi/linux/issues/3250 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
-
- Sep 20, 2019
-
-
Iago Toral Quiroga authored
Extends the user space ioctl for CL submissions so it can include a request to flush the cache once the CL execution has completed. Fixes memory write violation messages reported by the kernel in workloads involving shader memory writes (SSBOs, shader images, scratch, etc) which sometimes also lead to GPU resets during Piglit and CTS workloads. v2: if v3d_job_init() fails we need to kfree() the job instead of v3d_job_put() it (Eric Anholt). v3 (Eric Anholt): - Drop _FLAG suffix from the new flag name. - Add a new param so userspace can tell whether cache flushing is implemented in the kernel. Signed-off-by: Iago Toral Quiroga <itoral@igalia.com>
-
- Sep 19, 2019
-
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
-
popcornmix authored
The arm64 and arm configs had diverged in the extra modules that were being built. Resync the two for the obvious modules. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
-
James Hughes authored
Was running at 25Hz, rather than he expected 60. Only been doing it for the last 5 years.... Replace msleep_interruptible with usleep_range as the msleep call is not accurate for times < 20ms. Fixes: https://github.com/raspberrypi/linux/issues/3227 Signed-off-by: James Hughes <james.hughes@raspberrypi.org>
-
Linus Walleij authored
commit ec757001 upstream. This makes gpiod_get_from_of_node() respect the GPIOD_FLAGS_BIT_NONEXCLUSIVE flag which is especially nice when getting regulator GPIOs right out of device tree nodes. Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com> Fixes: b0ce7b29 ("regulator/gpio: Allow nonexclusive GPIO access") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-
- Sep 16, 2019
-
-
Phil Elwell authored
My forward-port of the arm64 pcie bounce buffer support broke builds with IOMMU support enabled. Fixes: 53f58fe7 ("Ported pcie-brcmstb bounce buffer implementation to ARM64. (#3144)") Signed-off-by: Phil Elwell <phil@raspberrypi.org>
-
- Sep 13, 2019
-
-
Dave Stevenson authored
The g_selection and s_selection API is messed up and requires the driver to expect the non-MPLANE buffer types, not the MPLANE ones even if they are supported. The V4L2 core will convert the MPLANE ones to non-MPLANE should they be passed in Fixes: 5e484a3e staging: bcm2835-codec: switch to multi-planar API Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
The codec is happy with video up to 1920 high if the width is suitably reduced to stay within level limits. eg 1080x1920 is OK to decode. Increase the height limit accordingly. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Jörg Schambacher authored
Adds the driver for the Hifiberry DAC+DSP. It supports capture and playback depending on the DSP firmware. Signed-off-by: Joerg Schambacher <joerg@i2audio.com>
-
James Hughes authored
Margins were incorrectly assumed to be setup in SDTV mode, but were not actually done, so this make the setup non-conditional on mode. Signed-off-by: James Hughes <james.hughes@raspberrypi.org>
-
Phil Elwell authored
Without this change, V3D ends up using (and rapidly running out of) bounce buffers. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
-
Phil Elwell authored
This one got missed. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
-
Phil Elwell authored
See: https://github.com/raspberrypi/linux/issues/3182 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
-
Dave Stevenson authored
This is mainly used for the NoIR camera which has no IR filter and can completely confuse normal AWB presets. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
Adds a simple greyworld white balance preset, mainly for use with cameras without an IR filter (eg Raspberry Pi NoIR) Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
The interrupt GPIO is optional to the driver, therefore add an option to not configure it. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
In order to allow the overlay to be loaded multiple times the GPIO node for the interrupt line needs to be unique. Rename it based on the MCP23017 I2C address https://github.com/raspberrypi/linux/issues/3207 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Yaroslav Rosomakho authored
This prevents DMA leaks. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
-
Yaroslav Rosomakho authored
Limit max_req_size under arm64 (or any other platform that uses swiotlb) to prevent potential buffer overflow due to bouncing. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
-
Kieran Bingham authored
Add a media controller device node to represent the Unicam device. The attached sensor will be automatically added to the media graph by V4L2 core. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
unicam_start_rx() is not used outside of the unicam module. Its current definition produces a compiler warning, that no function prototype exists. As the function is only used within the local scope of the module, convert it to a static function. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
Provide a single media device to contain all of the bcm2835_codec devices created. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
Pass the bcm2835_codec_driver driver context directly into the bcm2835_codec_create() so that it can be used to store driver global state. Pass the struct platform_device *pdev by adding it to the driver global state. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
Three entities are created, Decode, Encode and ISP but all of the video nodes use the same video name string "bcm2835-codec" which makes it difficult to identify each role. Append the role-name to the video name to facilitate identifying a specific instance from userspace. The Card-Type is also extended with the role name to support identifying the device context from within QUERY_CAP operations. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
The static role text is declared incorrectly. The static should be first, and the roles should also be constified. Convert from "const static char *" to "static const char * const". Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
The job_ready comment is incorrectly using the documentation prefix (/**) which causes a warning at build time. Simplify it. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Dave Stevenson authored
Adds an overlay for the IMX219 image sensor, connected to the Unicam CSI2 receiver peripheral. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
Adds a driver for the 8MPix Sony IMX219 CSI2 sensor. Whilst the sensor supports 2 or 4 CSI2 data lanes, this driver currently only supports 2 lanes. 8MPix @ 15fps, 1080P @ 30fps (cropped FOV), and 1640x1232 (2x2 binned) @ 30fps are currently supported. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Dave Stevenson authored
The IMX219 is an 8MPix CSI2 sensor, supporting 2 or 4 data lanes. Document the binding for this device. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
-
Trevor Stiles authored
Signed-off-by: Trevor Stiles <tstiles@shel.org>
-
Álvaro Fernández Rojas authored
This is needed to identify the different models on distributions like OpenWrt. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-
Aman Gupta authored
The ISP and ENCODE roles have the same underlying hardware. Neither requires vertical alignment. Signed-off-by: Aman Gupta <aman@tmm1.net>
-
Aman Gupta authored
fixes #3171 Signed-off-by: Aman Gupta <aman@tmm1.net>
-
popcornmix authored
-
popcornmix authored
This code path hasn't been used previously. Fixed up after testing with kodi on 32-bit userland and 64-bit kernel Signed-off-by: popcornmix <popcornmix@gmail.com>
-
Phil Elwell authored
The xtal parameter is targetting the wrong node - fix it. See: https://github.com/raspberrypi/linux/issues/3156 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
-