[PATCH] drm/gem: Add new flink_to ioctl

Keith Packard keithp at keithp.com
Thu Jul 8 08:59:00 PDT 2010


On Thu,  8 Jul 2010 11:23:25 -0400, Kristian Høgsberg <krh at bitplanet.net> wrote:

>  - a mechanism to attach a binary blob to an flink_to buffer name.
>    open_with_data returns the data.  Userspace (typically libdrm)
>    decides the layout and versioning of the blob and the contents
>    will be chipset specific.  it's an opaque blob to the kernel,
>    which doesn't need to know about stride and formats etc.

Arbitrary binary blobs considered harmful? Even if the kernel doesn't
need to know all of this data, having it in an explicit (versioned)
format will protect applications from randomly mis-interpreting the data.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100708/52b76845/attachment.pgp>


More information about the dri-devel mailing list