diff options
author | Veera Sundaram Sankaran <veeras@codeaurora.org> | 2015-04-16 18:43:19 -0700 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:29:53 -0700 |
commit | bd14538fc85ba5f144a294f6a7497fc7421ea866 (patch) | |
tree | 7a34785d47a47575c07a3f4d50435366276f9dc3 /include | |
parent | 33a726f79978190e0a0d362957be17b0b438702b (diff) |
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 <pdhaval@codeaurora.org>
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fb.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |