Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2506975imu; Mon, 19 Nov 2018 01:29:56 -0800 (PST) X-Google-Smtp-Source: AJdET5fYlH9diK2JN1uVE0219GULE4SOjZf487zB9+wWRSYOJuAkqBaYU7f5iYstkAyWUQK0fKgb X-Received: by 2002:a62:c302:: with SMTP id v2mr6342968pfg.155.1542619796278; Mon, 19 Nov 2018 01:29:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542619796; cv=none; d=google.com; s=arc-20160816; b=Ce1uL+NI2MkAjerIdaVIHKAmLWfOnR3UHFMNpYMLM4Jx9ws49Gtk9GEqweFj/KoU8v KD6GAn2wYjm+b/fcl9/2yrGMm8VlUXbgaNxpIzb6jmVmZaHgxtLyL8N57X1NSVtMSaMn IaG56ZKUH6lfxEmaXFyVgvZYNXY4sqdhiZoa2n12yqGkqSacoqsmQv9jOoShi4RiqgCT RUA73j401DvRGo8IkDsav+x5SwgIJKG8pb+oAS3LiTptoSpwgTTAjfdbTzIUcz+EeESV CwKOObCLchCsA6umUTLwUTPiBttTvQHI3F1xHefuykRXej6n9X4PSyY+zcqhc8q+xaGz 6j6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FFN9AzdlC38m+/krDeldKOxSD1pxTLMQpCHnJiyjxy4=; b=n0a1xf1p+BuU+/rUAjrWqV7HKdehbIGE5J2ngnTa4CQ+U1pil9/JzuFsHZgiV7JCbS 25OZez5mrXnUHRYsdg8yzq2kn5gjQQkbUUUH+UKiiEQtIQIG4gOQTpVecIoarDby0P27 nQ8RJGSu3SE1DK84ULhYaz91v8HR1wKs9qMRTNaDKrSZEkD7xektePZtjoU1S/oC0MFZ U0EarbJ2t5QgQB0hqngqIQfvbtfMMvCBMAyU9fnrbR/Zbqi8KL3EIKBg9Bfh06zSmTxr hP9b5q/f+2xiY0SOXW9Qsc5RafWN7i5w7nkTguKSAUVJX7mCtSJxvZ7fcxbDGs6fnDbj MeEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 62-v6si41494518plf.308.2018.11.19.01.29.41; Mon, 19 Nov 2018 01:29:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727449AbeKSTvu (ORCPT + 99 others); Mon, 19 Nov 2018 14:51:50 -0500 Received: from mail.bootlin.com ([62.4.15.54]:39295 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727278AbeKSTvu (ORCPT ); Mon, 19 Nov 2018 14:51:50 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id C0AAB207B0; Mon, 19 Nov 2018 10:28:45 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 8EE2F20510; Mon, 19 Nov 2018 10:28:35 +0100 (CET) Date: Mon, 19 Nov 2018 10:28:35 +0100 From: Maxime Ripard To: Paul Kocialkowski Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Maarten Lankhorst , Sean Paul , David Airlie , Thomas Petazzoni , Eric Anholt , Boris Brezillon Subject: Re: [PATCH] drm/fb-helper: Blacklist writeback when adding connectors to fbdev Message-ID: <20181119092835.3y2xqfclwlmk4cww@flea> References: <20181115163248.21168-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="adio4floig6atmjq" Content-Disposition: inline In-Reply-To: <20181115163248.21168-1-paul.kocialkowski@bootlin.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --adio4floig6atmjq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 15, 2018 at 05:32:48PM +0100, Paul Kocialkowski wrote: > Writeback connectors do not produce any on-screen output and require > special care for use. Such connectors are hidden from enumeration in > DRM resources by default, but they are still picked-up by fbdev. > This makes rather little sense since fbdev is not really adapted for > dealing with writeback. >=20 > Moreover, this is also a source of issues when userspace disables the > CRTC (and associated plane) without detaching the CRTC from the > connector (which is hidden by default). In this case, the connector is > still using the CRTC, leading to am "enabled/connectors mismatch" and > eventually the failure of the associated atomic commit. This situation > happens with VC4 testing under IGT GPU Tools. >=20 > Filter out writeback connectors in the fbdev helper to solve this. >=20 > Signed-off-by: Paul Kocialkowski Reviewed-by: Maxime Ripard Tested-by: Maxime Ripard Thanks! Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --adio4floig6atmjq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCW/KCQwAKCRDj7w1vZxhR xY7gAQDZHFvWSxHsx94SaSOhXF1A+fyr4pYzvjdF+nkTKvYM6gD+NdiGWDKqdbIr ACu17Ht3/N6gBG0skZA7KX5lcHQKyQk= =Blv8 -----END PGP SIGNATURE----- --adio4floig6atmjq--