From: Ilija Hadzic <ihadzic@research.bell-labs.com>
To: Dave Airlie <airlied@gmail.com>
Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [RFC] Virtual CRTCs (proposal + experimental code)
Date: Mon, 07 Nov 2011 13:52:25 +0000 [thread overview]
Message-ID: <Pine.GSO.4.62.1111070728280.18351@umail> (raw)
In-Reply-To: <CAPM=9tyHDGHrRt1uOYR6ksxpxbss7Cbq9brFjpLy1S+kOk9AVw@mail.gmail.com>
On Mon, 7 Nov 2011, Dave Airlie wrote:
>
> So I expect the way I'd like this to work, is that we have full blown drm
> drivers for all the devices and then some sort of linkage layer between them,
> so one driver can export crtcs from another, instead of having special case
> ctd drivers.
I agree and that is actually a long-term plan from our side. CTD
functionality should be integral part of existing drivers not the new
driver, unless there is a new functionality that makes sense as CTD-only
(like v4l2ctd).
In the world that I imagine, likage layer is VCRTCM. Unaccelerated
frabebuffer devices (UDL for example, but in general anything that "lives"
in fbdev world) can choose (based on some policy from userland) whether to
act as CTD driver and register themselves with VCRTCM (when they want
acceleration "assistance" from a GPU in the system) or to load as
normal fbdev devices (when they want to run on their own).
> Now I can see the reason for the v4l one, but I have for example
> a udl kms driver, and I'd like to have it work alongside this stuff,
> and userspace
> could bind the crtcs from it to another driver. I'm not sure how much work
> this would be or if its just a matter of adding a CTD interface to the udl kms
> device.
>
The only reason we wrote a new udlctd driver was because it was quicker
that way (we just ripped some code from udlfb driver and added our CTD
functionality).
The plan was always to merge udlctd and udlfb at some point, but first
I'd like to see how perceptive is the community to the concept. If the
concept makes sense, then we'll throw in enough programming to consolidate
the drivers. Nobody wants three competing drivers for the same device
(udlfb, your udl kms driver and our udlctd).
Speaking of udl driver, is your udl-v2 branch competing with udlfb?
Externally, they seem to do similar or the same thing, but one is based on
DRM (and I guess the required DDX is xf86-video-modesetting), while the
other is based on fbdev and the required DDX is xf8b-video-fbdev. While
from my perspective both could be consilidated with a CTD functionality,
but it makes me wonder in which direction is the community development
moving: is everything from fbdev-world moving under DRM as a set of
unaccelerated KMS drivers or is fbdev staying separate for good ?
Depending on what the trend is, one or the other udl driver (udl-v2 or
udlfb) will make more sense to be merged with udlctd.
-- Ilija
next prev parent reply other threads:[~2011-11-07 13:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 15:59 [RFC] Virtual CRTCs (proposal + experimental code) Ilija Hadzic
2011-11-03 17:21 ` Daniel Vetter
2011-11-03 17:27 ` David Airlie
2011-11-03 17:53 ` Alan Cox
2011-11-03 18:00 ` Ilija Hadzic
2011-11-07 12:58 ` Dave Airlie
2011-11-07 13:52 ` Ilija Hadzic [this message]
2011-11-23 11:48 ` Dave Airlie
2011-11-24 5:59 ` Ilija Hadzic
2011-11-24 8:52 ` Dave Airlie
2011-11-24 10:52 ` Daniel Vetter
2011-11-25 5:11 ` Ilija Hadzic
2011-11-24 12:58 ` Alan Cox
2011-11-24 13:48 ` Dave Airlie
2011-11-25 4:08 ` Ilija Hadzic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.62.1111070728280.18351@umail \
--to=ihadzic@research.bell-labs.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-fbdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).