Hi,
This is the spritual successor to the modes-as-blob-properties patchset.

There are some fairly drastic differences though, namely:
  - the referenced object in this case is the blob property - being just
    a dumb chunk of data - rather than attempting to refcount modes;
    meaning that ...
  - userspace doesn't see blob mode IDs from the connector list, only
    from the current mode, so it really needs to create the mdoes again
    from the drm_mode_modeinfo it gets
  - the mode-constness series has been split out and will be sent
    separately

Actually exposing the mode property does largely seem to work, but
need to fix i915 to not copy CRTC states by value before it does.

This series still retains the concept of a type within the create blob
ioctl, on the grounds that otherwise we could allow userspace to create
unbounded allocations in the kernel with no attribution. Other than
matching size, the type has no meaning per se.

Cheers,
Daniel

Reply via email to