Preserve framebuffer during rmfb / drm fd close.
Get series with b4
b4 am 1441809657-11411-1-git-send-email-maarten.lankhorst@linux.intel.comVersions newest first
- v1 Latest2 patches 21 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/core: Preserve the framebuffer after removing it.drivers/ | +2 | 20 replies | |
| 2/2 | drm/core: Preserve the fb id on close.drivers/ | +1 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Vetter | David Herrmann |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Preserve framebuffer during rmfb / drm fd close.
This is breaks the abi slightly, but allows preserving the framebuffer contents across processes. Any system compositor or fbdev should take care of resetting the planes and mode anyway.
Restoring a framebuffer requires a call to getfb, which checks for CAP_SYS_ADMIN, DRM_MASTER or access to the control file. Any of those require privileges, so this shouldn't be a security issue.
Maarten Lankhorst (2):
drm/core: Preserve the framebuffer after removing it. drm/core: Preserve the fb id on close.
drivers/gpu/drm/drm_crtc.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-)
Signature · 6 lines
2.1.0 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel