]> git.baikalelectronics.ru Git - kernel.git/commit
drm/core: Preserve the fb id on close.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 9 Sep 2015 14:40:57 +0000 (16:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Sep 2015 18:14:24 +0000 (20:14 +0200)
commitef3a66a02a5a0fd040b8c8c9906b694d293e4f27
treede0534135dc1d713240f7d456e89476c2b5b3189
parent5f0048c86473b4cb43971fc44508b3e4c81dc1d9
drm/core: Preserve the fb id on close.

Keep the fb_id, which means that any application exiting without
unsetting the framebuffer from all planes will preserve its contents.

This is similar to preserving the initial framebuffer, except all
planes are preserved.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
[danvet: Remove unused variable, reported by Stephen Rothwell.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c