From bd14538fc85ba5f144a294f6a7497fc7421ea866 Mon Sep 17 00:00:00 2001 From: Veera Sundaram Sankaran Date: Thu, 16 Apr 2015 18:43:19 -0700 Subject: mdss: mdp: use file descriptor node info to track clients FB clients are tracked using process id. The process id does not match if open and close API callers are different. Track the fb clients using file descriptor node id in such cases and release all resources associated with that process id gracefully. CRs-fixed: 652449 Change-Id: I09c965a421197c6464a64684e9706f30df327882 Signed-off-by: Dhaval Patel Signed-off-by: Veera Sundaram Sankaran --- include/linux/fb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/fb.h b/include/linux/fb.h index eed5155cb64c..32d82ae5b55f 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -460,6 +460,7 @@ struct fb_info { struct fb_cmap cmap; /* Current cmap */ struct list_head modelist; /* mode list */ struct fb_videomode *mode; /* current mode */ + struct file *file; /* current file node */ #ifdef CONFIG_FB_DEFERRED_IO struct delayed_work deferred_work; -- cgit v1.2.3