[Intel-gfx] [PATCH 0/2] Preserve framebuffer during rmfb / drm fd close.
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Wed Sep 9 07:40:55 PDT 2015
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(-)
--
2.1.0
More information about the Intel-gfx
mailing list