From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754492AbbL3JcH (ORCPT ); Wed, 30 Dec 2015 04:32:07 -0500 Received: from smtpoutz28.laposte.net ([194.117.213.103]:46774 "EHLO smtp.laposte.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753904AbbL3JcF (ORCPT ); Wed, 30 Dec 2015 04:32:05 -0500 Message-ID: <5683A48C.80203@laposte.net> Date: Wed, 30 Dec 2015 10:31:56 +0100 From: Sebastian Frias User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Tomi Valkeinen , laurent.pinchart@ideasonboard.com, David Airlie CC: Frans Klaver , Jean-Christophe Plagniol-Villard , linux-fbdev@vger.kernel.org, LKML , mason , =?UTF-8?B?TcOlbnMgUnVsbGfDpXJk?= , dri-devel@lists.freedesktop.org Subject: Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko References: <56828767.4050302@laposte.net> <5682936E.2040904@laposte.net> <5682BA0B.9060001@laposte.net> <5683908C.5040001@ti.com> In-Reply-To: <5683908C.5040001@ti.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-VR-SrcIP: 83.142.147.193 X-VR-FullState: 0 X-VR-Score: -100 X-VR-Cause-1: gggruggvucftvghtrhhoucdtuddrfeekiedriedtgddtfecutefuodetggdotefrodftvfcurfhrohhf X-VR-Cause-2: ihhlvgemucfntefrqffuvffgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhs X-VR-Cause-3: ucdlqddutddtmdenucfjughrpefkfffhfgggvffufhgjtgfgsehtjegrtddtfeejnecuhfhrohhmpefu X-VR-Cause-4: vggsrghsthhirghnucfhrhhirghsuceoshhfkeegsehlrghpohhsthgvrdhnvghtqeenucfrrghrrghm X-VR-Cause-5: pehmohguvgepshhmthhpohhuthdphhgvlhhopegludejvddrvdejrddtrddvudegngdpihhnvghtpeek X-VR-Cause-6: fedrudegvddrudegjedrudelfedpmhgrihhlfhhrohhmpehsfhekgeeslhgrphhoshhtvgdrnhgvthdp X-VR-Cause-7: rhgtphhtthhopehtohhmihdrvhgrlhhkvghinhgvnhesthhirdgtohhm X-VR-AvState: No X-VR-State: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 12/30/2015 09:06 AM, Tomi Valkeinen wrote: > > Also note that I don't want new fbdev drivers into the mainline kernel. > You should implement a DRM based driver instead. > Thanks, is there a porting guide to go from fbdev to DRM? Does DRM provides a "fbdev" backward compatible API? Would that be feasible? I did not find much about that. Currently our stack is something like: Qt -> eglfs -> Mali -> fbdev -> mem -> output (HW) (HW) We don't control the eglfs/Mali (GPU) part. From what I could see, Mali uses DRM with X11 which we do not need (note: I'm not a Mali expert and just took a quick look at the code so I may be wrong), which could be a problem. If "implement a DRM driver" is a lot of work, it would end up as a business decision and probably would not happen. Would you say there are good solid arguments to shake our current stack (other than for dusting it off)? By the way, does DRM improves 2D acceleration support over fbdev? Thanks, Sebastian