projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e071f8c
)
drm/nouveau: we can't free ACPI EDID, so make a copy that we can
author
Ben Skeggs
<bskeggs@redhat.com>
Fri, 10 Sep 2010 05:33:11 +0000
(15:33 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 24 Sep 2010 06:26:24 +0000
(16:26 +1000)
The rest of the connector code assumes we can kfree() the EDID pointer.
This causes things to blow up with the ACPI EDID pointer we get
passed.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_acpi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_acpi.c
b/drivers/gpu/drm/nouveau/nouveau_acpi.c
index c17a055ee3e57c3a356f2fd4d3b85d4432f7d4e5..119152606e4c97af9583b451415954637d1a4d74 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_acpi.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_acpi.c
@@
-292,6
+292,6
@@
nouveau_acpi_edid(struct drm_device *dev, struct drm_connector *connector)
if (ret < 0)
return ret;
- nv_connector->edid =
edid
;
+ nv_connector->edid =
kmemdup(edid, EDID_LENGTH, GFP_KERNEL)
;
return 0;
}