dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Packard <keithp@keithp.com>
To: Tom Li <biergaizi2009@gmail.com>, dri-devel@lists.freedesktop.org
Subject: Re: Implementing the accelerated DRI/DRM driver for a pure 2D graphics card?
Date: Mon, 11 Aug 2014 21:15:43 -0700	[thread overview]
Message-ID: <86mwbaqr68.fsf@hiro.keithp.com> (raw)
In-Reply-To: <CAB6YEzX3e2DM8Qm_2gndonPBXgqRLm9CooZRkdAZ8QyPkA013g@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 625 bytes --]

Tom Li <biergaizi2009@gmail.com> writes:

> So I just stuck at here. Is there a standard way to just let
> userspace/DDX to access the 2D drawing processor by the exported
> interface or DRI/DRM layer?

The Intel UXA driver uses the 2D engine for simple X acceleration
through the kernel DRI/GEM interfaces. The portion of that interface
designed to support accelerated graphics operations is entirely
GPU-specific, so you would design that based on how your card works, and
the resulting 2D driver would be chipset specific as well, using the
custom kernel interfaces you create.

-- 
keith.packard@intel.com

[-- Attachment #1.2: Type: application/pgp-signature, Size: 810 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

      parent reply	other threads:[~2014-08-12  4:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-11 13:42 Implementing the accelerated DRI/DRM driver for a pure 2D graphics card? Tom Li
2014-08-12  1:50 ` Ilia Mirkin
2014-08-12  4:15 ` Keith Packard [this message]

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=86mwbaqr68.fsf@hiro.keithp.com \
    --to=keithp@keithp.com \
    --cc=biergaizi2009@gmail.com \
    --cc=dri-devel@lists.freedesktop.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