Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2027392pxb; Fri, 22 Oct 2021 12:17:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzCuCPww1/RVs2FNJp8e8niw/0yZp6OYoDBVjq45arRZYuVUgISQR1q59SuP4vGk9rpp9R X-Received: by 2002:a17:906:ae54:: with SMTP id lf20mr1698657ejb.195.1634930238500; Fri, 22 Oct 2021 12:17:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634930238; cv=none; d=google.com; s=arc-20160816; b=qRrC9EqR5xe5NvQpJKoijrq4wfS4biTf2hxLxp1JbommXMM9fi0/FT8qM/jvpyAvrr QuZdQIxG8sEV07+EjjJiCVlJkbr68B4YYcE0XXuOAbrO4A017dl+bsOIB6+JWqQDLJPk BE1pVYilbaBtJu7lgY8KTTfCB44VtX4gse0X8Qhq/6C0wPrENSjiAiO3oPwwe2dOang3 Lb1Zm/n8mpnBUcIg/AOSrkoYkS4+nQvd7IbsLfvIT/A7x+llZsWkXucoMnIWgLFKYUt5 E0eALwpP3n8D6n1ygFsYTAvoK45ItXNh3Y6DWigZHvKXoslkpFdHg/hZ5M0TL2kZaviQ IdZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=HPQePRquVAIlF9C75kXhN68UZZKYVs/Sri7XmcKBurA=; b=K0d+p82RW7nXYXPKW2p+b9q9oRDX6X5fu+qWa8RjYxN71HgauB4qQTGrxyohkYQ20C Yt9hCblcP9JphlLh8BrOycGZypiD56MhPxhKLCuBnZ/sxrRTVy4KZNmnaapne/5y+ClS tqXQVR5iTTUr3DFQAqh9pRRJUVHWnR2CzKCJeCIIrfr56iCwwrrm4Zt0nzHDSIhpIp05 2QCwkW99gMqwlNf+lj0Hp9VVLTJ38/39fcvGD/pBJ7X4QeJrRaaF0IKEX2oj9dlPGLgt x+X0OCllNihyPYqS9g/0z/aFgrjE0nISNbKLNUcmcdrHm5PZfuglp2HSH9qRNj/Zv9uF 19RQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i24si11732140ejy.159.2021.10.22.12.16.54; Fri, 22 Oct 2021 12:17:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233971AbhJVTPb (ORCPT + 99 others); Fri, 22 Oct 2021 15:15:31 -0400 Received: from mga01.intel.com ([192.55.52.88]:19048 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233732AbhJVTPW (ORCPT ); Fri, 22 Oct 2021 15:15:22 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10145"; a="252874016" X-IronPort-AV: E=Sophos;i="5.87,173,1631602800"; d="scan'208";a="252874016" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2021 12:13:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,173,1631602800"; d="scan'208";a="495799065" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.171]) by orsmga008.jf.intel.com with SMTP; 22 Oct 2021 12:12:58 -0700 Received: by stinkbox (sSMTP sendmail emulation); Fri, 22 Oct 2021 22:12:57 +0300 Date: Fri, 22 Oct 2021 22:12:57 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, Thomas Zimmermann , Peter Robinson , Neal Gompa , Daniel Vetter , David Airlie , Maarten Lankhorst , Maxime Ripard , dri-devel@lists.freedesktop.org Subject: Re: [RFC PATCH] drm/aperture: Add param to disable conflicting framebuffers removal Message-ID: References: <20211022144040.3418284-1-javierm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211022144040.3418284-1-javierm@redhat.com> X-Patchwork-Hint: comment Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 22, 2021 at 04:40:40PM +0200, Javier Martinez Canillas wrote: > The simpledrm driver allows to use the frame buffer that was set-up by the > firmware. This gives early video output before the platform DRM driver is > probed and takes over. > > But it would be useful to have a way to disable this take over by the real > DRM drivers. For example, there may be bugs in the DRM drivers that could > cause the display output to not work correctly. > > For those cases, it would be good to keep the simpledrm driver instead and > at least get a working display as set-up by the firmware. > > Let's add a drm.remove_fb boolean kernel command line parameter, that when > set to false will prevent the conflicting framebuffers to being removed. > > Since the drivers call drm_aperture_remove_conflicting_framebuffers() very > early in their probe callback, this will cause the drivers' probe to fail. Why is that better than just modprobe.blacklisting those drivers? -- Ville Syrj?l? Intel