Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752166AbdHNNtF (ORCPT ); Mon, 14 Aug 2017 09:49:05 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:34037 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750876AbdHNNtE (ORCPT ); Mon, 14 Aug 2017 09:49:04 -0400 MIME-Version: 1.0 X-Originating-IP: [2a02:168:56e6:0:e4bc:76a0:8042:669e] In-Reply-To: <757d86d1-cca5-3a99-a371-a4c7e1c76f9b@xilinx.com> References: <757d86d1-cca5-3a99-a371-a4c7e1c76f9b@xilinx.com> From: Daniel Vetter Date: Mon, 14 Aug 2017 15:49:02 +0200 Message-ID: Subject: Re: [PATCH 2/2] video: fbdev: Enable Xilinx FB for ZynqMP To: Michal Simek Cc: Linus Walleij , "linux-kernel@vger.kernel.org" , "monstr@monstr.eu" , Benjamin Gaignard , Tomi Valkeinen , Bartlomiej Zolnierkiewicz , Arnd Bergmann , "linux-fbdev@vger.kernel.org" , Krzysztof Kozlowski , Paul Burton 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: 1306 Lines: 30 On Mon, Aug 14, 2017 at 3:46 PM, Michal Simek wrote: > On 14.8.2017 15:42, Linus Walleij wrote: >> On Tue, Aug 8, 2017 at 10:10 AM, Michal Simek wrote: >> >>> Enable this driver for Xilinx ZynqMP. >>> >>> Signed-off-by: Michal Simek >> >> Not a comment on the patch per se, but I would advice you to look into >> migrating the Xilinx frame buffer to DRI/DRM/KMS. >> >> The recent CMA helpers has made it very simple and focused to write >> DRM drivers. See for example drivers/gpu/drm/pl111 > > There is a lot of work done by xilinx in this area gpu/drm/kms. I am > trying to upstream what xilinx has in soc tree and this change is there. > Maybe in this case it is useless and none is using it but it is there > and I don't want to break user. There shouldn't be any technical problem > to run this old fb driver in pl on arm64. A proper drm kms driver gives you backwards compat for fbdev for free. And we're taking in patches to fill feature gaps in our fbdev emulation as people hit them. There no reason nowadays at all to merge new fbdev native drivers, your users will be taken care of by a drm kms driver fully. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch