Skip to content

Preserve framebuffer during rmfb / drm fd close.

Maarten Lankhorst dri-devel intel-gfx 1 version In review

Get series with b4
b4 am 1441809657-11411-1-git-send-email-maarten.lankhorst@linux.intel.com

Versions newest first

  1. v1 Latest2 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/core: Preserve the framebuffer after removing it.drivers/gpu/drm/drm_crtc.c+2 -220 replies
2/2drm/core: Preserve the fb id on close.drivers/gpu/drm/drm_crtc.c+1 -101 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDaniel VetterDavid Herrmann
1/2R-b R-b
2/2R-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/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