drm_intel_bo for the KMS framebuffer with IvyBridge?

Dave Airlie airlied at gmail.com
Tue Jul 31 20:02:24 PDT 2012


On Wed, Aug 1, 2012 at 12:59 PM, Segovia, Benjamin
<benjamin.segovia at intel.com> wrote:
> Hello all,
>
> Saying I want to play with an IvyBridge machine and the display when X is
> *not* running (I just opened /dev/dri/card0 from a terminal). Is there a
> simple way to get a drm_intel_bo for the terminal framebuffer such that I
> can brutally write into it? So, can I easily get its bo and its format
> (width, height, pitch, format, tiling)?
>

Not recommended, but there is code in the ddx to get the handle for
the framebufffer so we can copy it at X startup.

Its in intel_display.c.

Dave.


More information about the dri-devel mailing list