Re: [PATCH 6/7] drm: omapdrm: Fix incorrect usage of the term 'cache coherency'

2017-04-15 Thread Laurent Pinchart
Hi Tomi, On Friday 10 Mar 2017 14:13:08 Tomi Valkeinen wrote: > On 10/03/17 11:39, Laurent Pinchart wrote: > > The is_cache_coherent() function currently returns true when the mapping > > is not cache-coherent. This isn't a bug as such as the callers interpret > > cache-coherent as meaning that th

[PATCH] drm: atmel-hlcdc: Uninitialized return in atmel_hlcdc_create_outputs()

2017-04-15 Thread Dan Carpenter
It's not possible for endpoint to be zero so the test doesn't work. If we break on the first iteration through the loop then endpoint is 1 and "ret" is uninitialized. Fixes: ebc944613567 ("drm: convert drivers to use drm_of_find_panel_or_bridge") Signed-off-by: Dan Carpenter diff --git a/driver

drm-tip/drm-tip boot: 15 boots: 2 failed, 13 passed (v4.11-rc6-1972-g94416e8a78c3)

2017-04-15 Thread kernelci . org bot
drm-tip/drm-tip boot: 15 boots: 2 failed, 13 passed (v4.11-rc6-1972-g94416e8a78c3) Full Boot Summary: https://kernelci.org/boot/all/job/drm-tip/branch/drm-tip/kernel/v4.11-rc6-1972-g94416e8a78c3/ Full Build Summary: https://kernelci.org/build/drm-tip/branch/drm-tip/kernel/v4.11-rc6-1972-g94416e

drm-tip/drm-tip boot: 15 boots: 3 failed, 12 passed (v4.11-rc6-1971-g755bfce568cd)

2017-04-15 Thread kernelci . org bot
drm-tip/drm-tip boot: 15 boots: 3 failed, 12 passed (v4.11-rc6-1971-g755bfce568cd) Full Boot Summary: https://kernelci.org/boot/all/job/drm-tip/branch/drm-tip/kernel/v4.11-rc6-1971-g755bfce568cd/ Full Build Summary: https://kernelci.org/build/drm-tip/branch/drm-tip/kernel/v4.11-rc6-1971-g755bfc

drm-tip/drm-tip build: 207 builds: 20 failed, 187 passed, 19 errors, 45 warnings (v4.11-rc6-1972-g94416e8a78c3)

2017-04-15 Thread kernelci . org bot
drm-tip/drm-tip build: 207 builds: 20 failed, 187 passed, 19 errors, 45 warnings (v4.11-rc6-1972-g94416e8a78c3) Full Build Summary: https://kernelci.org/build/drm-tip/branch/drm-tip/kernel/v4.11-rc6-1972-g94416e8a78c3/ Tree: drm-tip Branch: drm-tip Git Describe: v4.11-rc6-1972-g94416e8a78c3 Git

drm-tip/drm-tip build: 207 builds: 20 failed, 187 passed, 20 errors, 45 warnings (v4.11-rc6-1971-g755bfce568cd)

2017-04-15 Thread kernelci . org bot
drm-tip/drm-tip build: 207 builds: 20 failed, 187 passed, 20 errors, 45 warnings (v4.11-rc6-1971-g755bfce568cd) Full Build Summary: https://kernelci.org/build/drm-tip/branch/drm-tip/kernel/v4.11-rc6-1971-g755bfce568cd/ Tree: drm-tip Branch: drm-tip Git Describe: v4.11-rc6-1971-g755bfce568cd Git

[PATCH v2 2/2] drm: dw-hdmi: gate audio clock from the I2S enablement callbacks

2017-04-15 Thread Romain Perier
Currently, the audio sampler clock is enabled from dw_hdmi_setup() at step E. and is kept enabled for later use. This clock should be enabled and disabled along with the actual audio stream and not always on (that is bad for PM). Futhermore, as described by the datasheet, the I2S variant need to ga

[PATCH v2 0/2] drm: dw-hdmi: various improvements

2017-04-15 Thread Romain Perier
This set of patches split the stream handling functions in two parts. It introduces new callbacks that are specific to each variant, one for I2S and one for AHB. Then, as requested by the datasheet for the I2S variant, it adds support for gating the audio sampler clock when the audio stream is ena

X.org EVoC Ideas

2017-04-15 Thread Raghav Jajodia
Hi there I am Raghav Jajodia, an Engineering student from India. While going through the X.org foundation, I felt that X.org is a great community for new Open Source developers. I am deeply interested in being a part of the community. Although, while going through the GSoC and EVoC Ideas, I found

[PATCH v2 1/2] drm: dw-hdmi: add specific I2S and AHB functions for stream handling

2017-04-15 Thread Romain Perier
Currently, CTS+N is forced to zero as a workaround of the IP block for i.MX platforms. This is requested in the datasheet of the corresponding IP for AHB mode only. However, we have seen that it introduces glitches or delays when playing a sound on HDMI for I2S mode. This proves that we cannot keep

Re: [PATCH 3/3] arm64: dts: exynos: Add support for S6E3HA2 edge panel device on TM2e board

2017-04-15 Thread Krzysztof Kozlowski
On Fri, Apr 14, 2017 at 02:19:39PM +0900, Hoegeun Kwon wrote: > This patch add the panel device tree node for S6E3HA2 edge display > controller to TM2e dts. > > Signed-off-by: Hoegeun Kwon > --- > arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts | 12 > 1 file changed, 12 insertions(+

Re: [PATCH v2] drm/i915: set "ret" correctly on error paths

2017-04-15 Thread Chris Wilson
On Fri, Apr 14, 2017 at 10:54:25PM +0300, Dan Carpenter wrote: > If "crtc" is NULL, then my static checker complains that "ret" isn't > initialized on that path. It doesn't really cause a problem unless > "ret" is somehow set to -EDEADLK which is not likely. > > Chris Wilson also noticed another

[PATCH v2 3/5] drm: omapdrm: Remove legacy buffer synchronization support

2017-04-15 Thread Laurent Pinchart
The omapdrm driver uses a custom API to synchronize with the SGX GPU. This is unusable as such in the mainline kernel as the API is only partially implemented and requires additional out-of-tree patches. Furthermore, as no SGX driver is available in the mainline kernel, the API can't be considered

[PATCH v2 4/5] drm: omapdrm: Store the Z order in the plane state zpos field

2017-04-15 Thread Laurent Pinchart
The DRM core implements a standard "zpos" property to control planes ordering. The omapdrm driver implements a similar property named "zorder". Although we can't switch to DRM core handling of the "zpos" property for backward compatibility reasons, we can store the zorder value in the drm_plane_sta

[PATCH v2 2/5] drm: omapdrm: Use DRM core's atomic commit helper

2017-04-15 Thread Laurent Pinchart
The DRM core atomic helper now supports asynchronous commits natively. The custom omapdrm implementation isn't needed anymore, remove it. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/omap_drv.c | 112 + drivers/gpu/drm/omapdrm/omap_drv.h | 9 +

[PATCH v2 1/5] drm: omapdrm: Handle events when enabling/disabling CRTCs

2017-04-15 Thread Laurent Pinchart
The driver currently handles vblank events only when updating planes on an already enabled CRTC. The atomic update API however allows requesting an event when enabling or disabling a CRTC. This currently leads to event objects being leaked in the kernel and to events not being sent out. Fix it. Si

[PATCH v2 0/5] omapdrm: fences and zpos

2017-04-15 Thread Laurent Pinchart
Hello, This patch series contains two completely unrelated features that just happen to have been developed one right after the other. Patches 1/5 to 3/5 implement explicit fences support. The first patch fixes event handling in the omapdrm driver as required by the atomic commit helper (and the

[PATCH v2 5/5] drm: omapdrm: Add zpos property

2017-04-15 Thread Laurent Pinchart
Create a standard zpos property for every plane as an alias to the omapdrm-specific zorder property. Unlike the zorder property that has to be instantiated for both planes and CRTCs due to backward compatibility, the zpos property is only instantiated for planes. When userspace will have switched t