From mboxrd@z Thu Jan 1 00:00:00 1970 From: airlied@gmail.com (Dave Airlie) Date: Tue, 11 Jun 2013 09:24:16 +1000 Subject: [PATCH RFC 2/8] DRM: Armada: Add Armada DRM driver In-Reply-To: References: <20130609190612.GM18614@n2100.arm.linux.org.uk> <20130610170648.GX18614@n2100.arm.linux.org.uk> <20130610200839.GY18614@n2100.arm.linux.org.uk> <20130610211516.GZ18614@n2100.arm.linux.org.uk> <20130610225607.GE18614@n2100.arm.linux.org.uk> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org >> >> That makes the driver just be a dumb scanout only driver. Sorry, >> that *really* does not interest me one bit, because the CPU doing >> framebuffer accesses is pig slow. > > Well, yes that is basically what I am saying, unless we can find a > different way (dmabuf? if there is some way to pass it through the > blob bits you don't have src code for?) > > The problem is that we really can't merge something upstream that lets > you dma to arbitrary physical address. Maybe in staging, perhaps? Or > otherwise if there is no other way, I hope someone will at least pick > up the modesetting parts of it and get that merged upstream. The rest > of the driver is looking pretty good, and I think it would be useful > to have upstream. Totally what he said. upstream shouldn't be restricted by the bad decisions of others, and adding security bypasses is one of them. I'd like to see all the ARM based drivers based on CMA if it can meet their requirements and using close to standard GEM/dma-buf interfaces. Otherwise it'll be come an unmaintainable nightmare for everyone, but mostly for me. Merging the base dumb KMS driver, then working out acceptable ways to provide the extra features is definitely the nicest way to do things. Dave. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Airlie Subject: Re: [PATCH RFC 2/8] DRM: Armada: Add Armada DRM driver Date: Tue, 11 Jun 2013 09:24:16 +1000 Message-ID: References: <20130609190612.GM18614@n2100.arm.linux.org.uk> <20130610170648.GX18614@n2100.arm.linux.org.uk> <20130610200839.GY18614@n2100.arm.linux.org.uk> <20130610211516.GZ18614@n2100.arm.linux.org.uk> <20130610225607.GE18614@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 87609E5CF6 for ; Mon, 10 Jun 2013 16:24:17 -0700 (PDT) Received: by mail-la0-f47.google.com with SMTP id fe20so6265397lab.20 for ; Mon, 10 Jun 2013 16:24:16 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Rob Clark Cc: linux-arm-kernel@lists.infradead.org, Russell King - ARM Linux , Jason Cooper , dri-devel@lists.freedesktop.org, Sebastian Hesselbarth List-Id: dri-devel@lists.freedesktop.org >> >> That makes the driver just be a dumb scanout only driver. Sorry, >> that *really* does not interest me one bit, because the CPU doing >> framebuffer accesses is pig slow. > > Well, yes that is basically what I am saying, unless we can find a > different way (dmabuf? if there is some way to pass it through the > blob bits you don't have src code for?) > > The problem is that we really can't merge something upstream that lets > you dma to arbitrary physical address. Maybe in staging, perhaps? Or > otherwise if there is no other way, I hope someone will at least pick > up the modesetting parts of it and get that merged upstream. The rest > of the driver is looking pretty good, and I think it would be useful > to have upstream. Totally what he said. upstream shouldn't be restricted by the bad decisions of others, and adding security bypasses is one of them. I'd like to see all the ARM based drivers based on CMA if it can meet their requirements and using close to standard GEM/dma-buf interfaces. Otherwise it'll be come an unmaintainable nightmare for everyone, but mostly for me. Merging the base dumb KMS driver, then working out acceptable ways to provide the extra features is definitely the nicest way to do things. Dave.