Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1796683pxb; Wed, 2 Feb 2022 12:43:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZHcMc6E3+SoV4A/NTZ9dFQau31iGKNIZNKQh0FZp7xwWPFyjJRj2/CCQmFImMStZa6BiL X-Received: by 2002:a17:902:8490:: with SMTP id c16mr32082863plo.129.1643834593887; Wed, 02 Feb 2022 12:43:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643834593; cv=none; d=google.com; s=arc-20160816; b=rEYTuSyLJls2aupsRuXy8Ya2IB7sVim98s7roN5vQaB9askc5TRkuph+Wb4QGcqA/7 T2yU07GKNw6Ge7S+5ivnJYX42gp4bZBYM0DuRz8WvvWpXMj/iNQNrRP6JUsLJSQMQsRp d4s5RbKA37D4DjR6hbgtwJoNFPOlhKDAJDgoQTQ5Lil50dHMS5rl2StObbDex5xDWr2S YK7sU1+JsMsXXjHIO0ryLqgshaC/uPUaoI4h/xWdBtffvddyvYQuy4vAzY7dFlI9lAJT ePS9KL5F5pYHudpV/v4zshOJtysq+SErOboCnPLKfd1xtfnUlVdj2MuiGk3Ig/3Uy6xl e5Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=xjf1jt1He8Wrf/z63oluDSty/kyO479+CAZGVx+jrB4=; b=hOHW5j5B2y/CElkfvve/EbGnsLHEl8Q01G07yaHYlflhFjZ69LKdiyenGhjdvhThWI p2lpo5BbxhGnBqH4ird2YgRZPodWonH4OYeF1pLeQAsF6tNFXNtbYYVzzFwv5znCN7AD jlULPCw/og9ejE8FAYAQsXotziJYvWKnhEaQTZsIqMu9KkdrSoB2P0/kzK055Gub4RL+ 6Gu0SvKoIYUp5BlAJvaphKk+rfl5jeRhxrK5a8KHSnKYYbphgGSTJbv9ySYkxsX0mjp9 wQqyeTQ9QoLQXFUgDAYZNISBfc/Oeg7aJvAppU2oyzuwyE7PSkdPj7zZqQ01N+3TCor+ RO5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XEd2Vi8y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q185si4039882pgq.27.2022.02.02.12.42.59; Wed, 02 Feb 2022 12:43:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XEd2Vi8y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234353AbiBBLv7 (ORCPT + 99 others); Wed, 2 Feb 2022 06:51:59 -0500 Received: from mga02.intel.com ([134.134.136.20]:12343 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231839AbiBBLv5 (ORCPT ); Wed, 2 Feb 2022 06:51:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643802717; x=1675338717; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=TaSayFeG3Tla1Ek3mItiUJbCMOq53RsNaYSQFDxfn/k=; b=XEd2Vi8y53xyze+5SKvzvyMb2fb6q2V6tKsrK3utoKrouitoCoNq6h0F c/nHEqA/s3DFAnC+FS6oEbmE2BUqJbc3e5QGNk81bIZRh4412K8pO2Mh9 sbiucSpW7j05I5LLLO3Z+T5E3CPZfZvcOUQzP/j+UbjNOzVtF2PLcaq7s USObwo3YJUxLFdV5ladsJm4NKtSVodJhg3lmoj71hd2xFK+Rq8b5zp/L8 9xCfSwsTah5mSbNRn1cxDtI98D5+oxbnK8pcF1YxlPPSCm2WjRtEcr3no YVnLXraQwIlzg5vW2nLsFaxZix0bq1ZWV4USIQePYpU5tQmiapQkjJ7+z A==; X-IronPort-AV: E=McAfee;i="6200,9189,10245"; a="235296798" X-IronPort-AV: E=Sophos;i="5.88,336,1635231600"; d="scan'208";a="235296798" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2022 03:51:57 -0800 X-IronPort-AV: E=Sophos;i="5.88,336,1635231600"; d="scan'208";a="620124007" Received: from smile.fi.intel.com ([10.237.72.61]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2022 03:51:53 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nFE9y-00041p-Fe; Wed, 02 Feb 2022 13:50:50 +0200 Date: Wed, 2 Feb 2022 13:50:50 +0200 From: Andy Shevchenko To: Javier Martinez Canillas Cc: Sam Ravnborg , Geert Uytterhoeven , Linux Kernel Mailing List , Linux PWM List , Linux Fbdev development list , Thomas Zimmermann , David Airlie , Daniel Vetter , Mark Brown , DRI Development , Liam Girdwood , Noralf =?iso-8859-1?Q?Tr=F8nnes?= , Maxime Ripard , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Thierry Reding , Lee Jones , Peter Robinson Subject: Re: [PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays Message-ID: References: <51f54519-bb8b-f108-1c1e-4fed101ca5ef@redhat.com> <2f149fef-b991-9e34-98cb-426e561192ff@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2f149fef-b991-9e34-98cb-426e561192ff@redhat.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 02, 2022 at 12:39:29PM +0100, Javier Martinez Canillas wrote: > On 2/2/22 12:06, Andy Shevchenko wrote: > > On Wed, Feb 02, 2022 at 09:38:51AM +0100, Javier Martinez Canillas wrote: > >> On 2/1/22 21:40, Sam Ravnborg wrote: > > And how will distros choose "the right" option in this case? > > It depends on the distro. In Fedora we are disabling *all* the fbdev drivers. Yes, and Distro A will think about old driver (because they have customers and don't want to have a bad user experience) and Distro F will choose a new one. > > What to do when I wan to see a regression and I want to change drivers w/o > > recompilation? > > If you want to have the two drivers without recompilation (and same compatible > to match) then how would kmod / udev choose which one to load ? It becomes a > race condition between the two drivers which one probes first. We have a long history in kernel where new drivers came and old faded. When two or more drivers of the same feature is enabled in the kernel we may use modprobe facilities to prioritize them (blacklisting). > > NAK from me to that proposal. > > What's your suggestion then to solve the issue mentioned above ? With my distro > maintainer hat I don't care that much, since the fbdev drivers will be disabled. I think both of them can work together. If user doesn't care, the first one wins. -- With Best Regards, Andy Shevchenko