Yes, I imagine this is not exactly using the API by the book :) but this is really to play with the HW not to write a real application. Can you give me the complete link to the file? I am not finding it in libdrm source. I guess it is somewhere else. Thanks! Ben -----Original Message----- From: Dave Airlie [mailto:airlied@xxxxxxxxx] Sent: Tuesday, July 31, 2012 8:02 PM To: Segovia, Benjamin Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx Subject: Re: drm_intel_bo for the KMS framebuffer with IvyBridge? On Wed, Aug 1, 2012 at 12:59 PM, Segovia, Benjamin <benjamin.segovia@xxxxxxxxx> 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. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel