Skip to content

User-created blob properties

Daniel Stone dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/atomic: Don't open-code CRTC state destroydrivers/gpu/drm/drm_crtc_helper.c+6 -10 replies
2/7drm/atomic: Early-exit from CRTC dup statedrivers/gpu/drm/drm_atomic_helper.c+7 -61 reply
3/7drm: Don't leak path blob property when updatingdrivers/gpu/drm/drm_crtc.c+3 -00 replies
4/7drm: Introduce helper for replacing blob propertiesdrivers/gpu/drm/drm_crtc.c+106 -490 replies
5/7drm: Introduce blob_lockdrivers/gpu/drm/drm_crtc.c include/drm/drm_crtc.h+18 -30 replies
6/7drm: Add reference counting to blob propertiesdrivers/gpu/drm/drm_crtc.c include/drm/drm_crtc.h+159 -221 reply
7/7drm/mode: Add user blob-creation ioctldrivers/gpu/drm/drm_crtc.c drivers/gpu/drm/drm_fops.c drivers/gpu/drm/drm_ioctl.c +4 more+199 -51 reply

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMaarten Lankhorst
SeriesR-b R-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] User-created blob properties

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel