From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Paalanen Subject: Re: How to design a DRM KMS driver exposing 2D compositing? Date: Tue, 12 Aug 2014 10:10:21 +0300 Message-ID: <20140812101021.7ec2f8c1@gmail.com> References: <20140811133855.77ab3f93@gmail.com> <20140811120636.GR8727@phenom.ffwll.local> <20140811154722.79aa8d13@gmail.com> <20140811153530.GR10500@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) by gabe.freedesktop.org (Postfix) with ESMTP id D97176E380 for ; Tue, 12 Aug 2014 00:10:27 -0700 (PDT) Received: by mail-la0-f41.google.com with SMTP id s18so7597335lam.14 for ; Tue, 12 Aug 2014 00:10:26 -0700 (PDT) In-Reply-To: <20140811153530.GR10500@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Daniel Vetter Cc: dri-devel List-Id: dri-devel@lists.freedesktop.org On Mon, 11 Aug 2014 17:35:31 +0200 Daniel Vetter wrote: > Well for other drivers/stacks we'd fall back to GL compositing. pixman > would obviously be terribly. Curious question: Can you provoke the > hw/firmware to render into abitrary buffers or does it only work together > with real display outputs? Since we have been talking about on-line (direct to output) and off-line (buffer target) use of the HVS (2D compositing engine), it should be able to do both I think. > So I guess the real question is: What kind of interface does videocore > provide? Note that kms framebuffers are super-flexible and you're freee to > add your own ioctl for special framebuffers which are rendered live by the > vc. So that might be a possible way to expose this if you can't tell the > vc which buffers to render into explicitly. Right. I don't know the HVS details yet, but I'm hoping we can tell it to render into a custom buffer, like the 3D core can. This discussion is very helpful btw, I'm starting to see some possible plans. Thanks, pq