Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932676AbcKQJnv (ORCPT ); Thu, 17 Nov 2016 04:43:51 -0500 Received: from ni.piap.pl ([195.187.100.4]:60124 "EHLO ni.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932110AbcKQJnr (ORCPT ); Thu, 17 Nov 2016 04:43:47 -0500 From: khalasa@piap.pl (Krzysztof =?utf-8?Q?Ha=C5=82asa?=) To: Philipp Zabel , David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [i.MX6 DRM IPUv3] Regression 4.9-rc5: greenish screen with YUV420 video Date: Thu, 17 Nov 2016 10:43:43 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 105583 [Nov 17 2016] X-KLMS-AntiSpam-Version: 5.7.0.14 X-KLMS-AntiSpam-Envelope-From: khalasa@piap.pl X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Info: LuaCore: 148 148 ddde7bf79e826e17900f019739810a3095308969, Auth:dkim=none X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: Clean, 2016/11/14 07:44:19 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2016/11/17 03:25:00 #8125730 X-KLMS-AntiVirus-Status: Clean, skipped Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 703 Lines: 18 Hi, The following GStreamer pipeline causes screen to become green with v4.9-rc4+: gst-launch-1.0 udpsrc uri=udp://239.1.2.2:5100 reuse=true caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" ! rtph264depay ! h264parse ! v4l2video1dec capture-io-mode=dmabuf ! kmssink name=imx-drm sync=0 Reverting "drm/imx: ipuv3-plane: Skip setting u/vbo only when we don't need modeset", commit 81d553545a1510ff7c7c00cbc9b57d6172d411a4, fixes the problem. Hardware is Gateworks Ventana GW5400, i.MX6Q, HDMI output, no X (console only). -- Krzysztof Halasa Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland