- 21 4月, 2017 1 次提交
-
-
由 Krzysztof Kozlowski 提交于
Few parts of kernel define their own macro for aligning down so provide a common define for this, with the same usage and assumptions as existing ALIGN. Convert also three existing implementations to this one. Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
-
- 07 2月, 2017 2 次提交
-
-
由 Andrzej Hajda 提交于
In case of interlace mode irq is generated for odd and even fields, but vblank should be signaled only for the last emitted field. Signed-off-by: NAndrzej Hajda <a.hajda@samsung.com> Signed-off-by: NInki Dae <inki.dae@samsung.com>
-
由 Andrzej Hajda 提交于
Some registers should be programmed differently in interlace mode. Additionally IP does not signal stop state properly in interlaced mode, so warning has been removed. Signed-off-by: NAndrzej Hajda <a.hajda@samsung.com> Signed-off-by: NInki Dae <inki.dae@samsung.com>
-
- 14 11月, 2016 1 次提交
-
-
由 Laurent Pinchart 提交于
The node pointer passed to the display timing functions is never modified, make it const. Signed-off-by: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
-
- 07 11月, 2016 1 次提交
-
-
由 Philipp Zabel 提交于
Support downsizing to 1/2 width and/or height in the CSI. Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
- 02 11月, 2016 1 次提交
-
-
由 Peter Ujfalusi 提交于
The sync can be - and for some panels it must be - driven on different edge then the data. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> CC: Rob Herring <robh+dt@kernel.org> CC: Mark Rutland <mark.rutland@arm.com> CC: devicetree@vger.kernel.org Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
-
- 20 10月, 2016 1 次提交
-
-
由 Philipp Zabel 提交于
ipu_cpmem_set_yuv_planar_full is only used directly, remove the wrapper. Suggested-by: NLiu Ying <gnuiyl@gmail.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de> Acked-by: NLiu Ying <gnuiyl@gmail.com>
-
- 27 9月, 2016 1 次提交
-
-
由 Krzysztof Kozlowski 提交于
The old non-DRM Exynos MIPI driver does not support DeviceTree and requires board files. Our platforms do not provide such so the driver is not usable since a long time ago. All features provided by the driver (and associated s6e8ax0 panel driver) are already supported by newer DRM version so the old code can be removed. Cc: Inki Dae <inki.dae@samsung.com> Cc: Donghwa Lee <dh09.lee@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
-
- 19 9月, 2016 2 次提交
-
-
由 Steve Longerbeam 提交于
This patch implements image conversion support using the IC tasks, with tiling to support scaling to and from images up to 4096x4096. Image rotation is also supported. Image conversion requests are added to a run queue under the IC tasks. The internal API is subsystem agnostic (no V4L2 dependency except for the use of V4L2 fourcc pixel formats). Callers prepare for image conversion by calling ipu_image_convert_prepare(), which initializes the parameters of the conversion. The caller passes in the ipu and IC task to use for the conversion, the input and output image formats, a rotation mode, and a completion callback and completion context pointer: struct ipu_image_converter_ctx * ipu_image_convert_prepare(struct ipu_soc *ipu, enum ipu_ic_task ic_task, struct ipu_image *in, struct ipu_image *out, enum ipu_rotate_mode rot_mode, ipu_image_converter_cb_t complete, void *complete_context); A new conversion context is created that is added to an IC task context queue. The caller is given the new conversion context, which can then be passed to the further APIs: int ipu_image_convert_queue(struct ipu_image_converter_run *run); This queues the given image conversion request run to a run queue, and starts the conversion immediately if the run queue is empty. Only the physaddr's of the input and output image buffers are needed, since the conversion context was created previously with ipu_image_convert_prepare(). When the conversion completes, the run pointer is returned to the completion callback. void ipu_image_convert_abort(struct ipu_image_converter_ctx *ctx); This will abort any active or pending conversions for this context. Any currently active or pending runs belonging to this context are returned via the completion callback with an error status. void ipu_image_convert_unprepare(struct ipu_image_converter_ctx *ctx); Unprepares the conversion context. Any active or pending runs will be aborted by calling ipu_image_convert_abort(). Signed-off-by: NSteve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
由 Steve Longerbeam 提交于
Add a macro that returns boolean true if the given ipu_rotate_mode requires the use of the Image Rotator. Signed-off-by: NSteve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
- 29 8月, 2016 2 次提交
-
-
由 Steve Longerbeam 提交于
Adds functions to link and unlink source channels to sink channels in the FSU: int ipu_fsu_link(struct ipu_soc *ipu, int src_ch, int sink_ch); int ipu_fsu_unlink(struct ipu_soc *ipu, int src_ch, int sink_ch); The channels numbers are usually IDMAC channels, but they can also be channels that do not transfer data to or from memory. The following convenience functions can be used in place of ipu_fsu_link/unlink() when both source and sink channels are IDMAC channels: int ipu_idmac_link(struct ipuv3_channel *src, struct ipuv3_channel *sink); int ipu_idmac_unlink(struct ipuv3_channel *src, struct ipuv3_channel *sink); So far the following links are supported: IPUV3_CHANNEL_IC_PRP_ENC_MEM -> IPUV3_CHANNEL_MEM_ROT_ENC PUV3_CHANNEL_IC_PRP_VF_MEM -> IPUV3_CHANNEL_MEM_ROT_VF IPUV3_CHANNEL_IC_PP_MEM -> IPUV3_CHANNEL_MEM_ROT_PP IPUV3_CHANNEL_CSI_DIRECT -> IPUV3_CHANNEL_CSI_VDI_PREV More links can be added to the fsu_link_info[] array. Signed-off-by: NSteve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
由 Steve Longerbeam 提交于
Adds the Video Deinterlacer (VDIC) unit. Signed-off-by: NSteve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
- 08 8月, 2016 5 次提交
-
-
由 Philipp Zabel 提交于
This patch adds the remaining missing IDMAC channel names: VDIC channels for combining, the separate alpha channels for the MEM->IC and MEM->DC ASYNC channels, and the DC read, command, and output mask channels. Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
由 Steve Longerbeam 提交于
Adds the VDIC field input IDMAC channels. These channels transfer fields F(n-1), F(n), and F(N+1) from memory to the VDIC (channels 8, 9, 10 respectively). Signed-off-by: NSteve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
由 Steve Longerbeam 提交于
Adds of-alias id to ipu_soc and retrieve with ipu_get_num(). Signed-off-by: NSteve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
由 Steve Longerbeam 提交于
Adds ipu_cpmem_get_burstsize(). Signed-off-by: NSteve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
由 Steve Longerbeam 提交于
Adds ipu_cpmem_set_uv_offset(), to set planar U/V offsets. Signed-off-by: NSteve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
- 13 7月, 2016 1 次提交
-
-
由 Liu Ying 提交于
For all video modes we support currently, we always get 2 slots for a plane by using the current existing dynamic DMFC FIFO allocation mechanism. So, let's change to use the static one to simplify the code. This also makes it easier to implement the atomic mode setting as we don't need to handle allocation failure cases then. Signed-off-by: NLiu Ying <gnuiyl@gmail.com> Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
- 03 6月, 2016 16 次提交
-
-
由 Peter Ujfalusi 提交于
Move the contents of the video/omapdss.h header file to omapdrm/dss local header file and remove the original global header. The omapfb stach is using video/omapfb_dss.h so this change will complete the separation of the two driver implementation. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
Copy the content of video/omapdss.h to a new (video/omapfb_dss.h) header file and convert the omapfb drivers to use this new file. The new header file is needed to complete the separation of omapdrm and omapfb implementation of DSS. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
Clean up the header files regarding to hdmi audio so the omap-hdmi-audio.h file will only need to include the platform_data/omapdss.h file. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> CC: Mark Brown <broonie@kernel.org> CC: Jyri Sarha <jsarha@ti.com> CC: Liam Girdwood <liam.r.girdwood@linux.intel.com>
-
由 Peter Ujfalusi 提交于
The driver only supports composite connection when booted in legacy mode so the omap_dss_venc_type can be dropped from the pdata. At the same time the video/omapdss.h include can be removed as it is no longer needed. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The omap_dss_device is not needed by anything in the header file. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
Create a new header file for platform data used by omapdss. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
-
由 Peter Ujfalusi 提交于
The omap_display_init() is implemented in the mach-omap2/display.c so the declaration should have been there as well. Change the board files to include display.h to avoid build breakage at the same time. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: NTony Lindgren <tony@atomide.com>
-
- 23 5月, 2016 1 次提交
-
-
由 Philipp Zabel 提交于
The component master driver imx-drm-core matches component devices using their of_node. Since commit 950b410dd1ab ("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading"), the imx-ipuv3-crtc dev->of_node is not set during probing. Before that, of_node was set and caused an of: modalias to be used instead of the platform: modalias, which broke module autoloading. On the other hand, if dev->of_node is not set yet when the imx-ipuv3-crtc probe function calls component_add, component matching in imx-drm-core fails. While dev->of_node will be set once the next component tries to bring up the component master, imx-drm-core component binding will never succeed if one of the crtc devices is probed last. Add of_node to the component platform data and match against the pdata->of_node instead of dev->of_node in imx-drm-core to work around this problem. Cc: <stable@vger.kernel.org> # 4.4.x Fixes: 950b410dd1ab ("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading") Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de> Tested-by: NFabio Estevam <fabio.estevam@nxp.com> Tested-by: NLothar Waßmann <LW@KARO-electronics.de> Tested-by: NHeiko Schocher <hs@denx.de> Tested-by: NChris Ruehl <chris.ruehl@gtsys.com.hk>
-
- 20 5月, 2016 2 次提交
-
-
由 Tomi Valkeinen 提交于
At the moment 'enum omap_dss_clk_source' is in omapdss.h, shared by omapdrm and omapfb. We're about to improve the omapdrm clock code, so we need to make a separate copy of the enum for each driver. Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
-
由 Tomi Valkeinen 提交于
'enum omap_overlay_manager_caps' is not used anywhere, remove it. Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
-
- 18 5月, 2016 1 次提交
-
-
由 Tomi Valkeinen 提交于
'enum omap_hdmi_flags' is not used anywhere, remove it. Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
-
- 10 5月, 2016 1 次提交
-
-
由 Simon Horman 提交于
Remove the sh_mipi_dsi driver as it appears to be unused since c0bb9b30 ("ARCH: ARM: shmobile: Remove ag5evm board support"). Signed-off-by: NSimon Horman <horms+renesas@verge.net.au> Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
-
- 30 4月, 2016 1 次提交
-
-
由 Inki Dae 提交于
This patch removes suffixes from I80 relevant register definitions, which are misleading. This is based on top of below patch set, http://www.spinics.net/lists/dri-devel/msg104057.htmlSigned-off-by: NInki Dae <inki.dae@samsung.com>
-