OSDN Git Service
(root)
/
android-x86
/
external-drm_gralloc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6963f5a
)
gralloc_drm_kms: use local buffer for uevent_desc
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 4 Jan 2018 03:13:50 +0000
(11:13 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 4 Jan 2018 03:13:50 +0000
(11:13 +0800)
I can't see a reason why uevent_desc should be static.
Besides, 2KB size is usually enough.
gralloc_drm_kms.c
patch
|
blob
|
history
diff --git
a/gralloc_drm_kms.c
b/gralloc_drm_kms.c
index
a5fd3ee
..
3242957
100644
(file)
--- a/
gralloc_drm_kms.c
+++ b/
gralloc_drm_kms.c
@@
-1189,7
+1189,7
@@
static int init_connectors(struct gralloc_drm_t *drm)
*/
static void *extcon_observer(void *data)
{
-
static char uevent_desc[4096
];
+
char uevent_desc[2048
];
drmModeConnectorPtr hdmi;
struct gralloc_drm_t *drm =
(struct gralloc_drm_t *) data;