Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755345AbbGCNdo (ORCPT ); Fri, 3 Jul 2015 09:33:44 -0400 Received: from mail-yk0-f175.google.com ([209.85.160.175]:33554 "EHLO mail-yk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755233AbbGCNdO (ORCPT ); Fri, 3 Jul 2015 09:33:14 -0400 MIME-Version: 1.0 In-Reply-To: <20150703123246.GA29257@ulmo.nvidia.com> References: <54FFFAEE.3020301@codeaurora.org> <20150311151731.GJ3800@phenom.ffwll.local> <550282C3.10903@codeaurora.org> <20150313090651.GZ3800@phenom.ffwll.local> <55126F32.90404@codeaurora.org> <20150325092111.GT1349@phenom.ffwll.local> <55924BA6.4050309@codeaurora.org> <20150703123246.GA29257@ulmo.nvidia.com> Date: Fri, 3 Jul 2015 09:33:13 -0400 Message-ID: Subject: Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation From: Rob Clark To: Thierry Reding Cc: Daniel Vetter , Linux Fbdev development list , linux-arm-msm , Linux Kernel Mailing List , dri-devel , Tomi Valkeinen , Benjamin Gaignard , Thierry Reding Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1584 Lines: 37 On Fri, Jul 3, 2015 at 8:32 AM, Thierry Reding wrote: > On Tue, Jun 30, 2015 at 11:04:45AM +0200, Daniel Vetter wrote: >> On Tue, Jun 30, 2015 at 10:31 AM, Benjamin Gaignard >> wrote: >> > I think that what have been done by Rob with module_param is also a good idea: >> > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/msm/msm_drv.c?id=e90dfec78ec288d6c89a7b508a5c5d4ae8b7f934 >> > >> > Can you mix compilation flag and module param ? >> >> Hm, the point of the kconfig is to not require all the legacy baggage >> from fbdev. But I guess a module option could be added later on too. >> bochs has it too. > > I think the option would primarily be useful for testing. I've often > needed to test modesetting code without fbdev getting in the way and the > only way to currently do that is by recompiling with legacy fbdev > disabled. The option would allow an fbdev-enabled kernel to be used but > disable the fbdev code if desired. and for debugging.. when things are going wrong it's nice for the first modeset to not happen under console_lock ;-) BR, -R > Thierry > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/