OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
315fef7
)
NV50: fix a few misc things
author
Maarten Maathuis
<madman2003@gmail.com>
Tue, 24 Jun 2008 10:38:57 +0000
(12:38 +0200)
committer
Maarten Maathuis
<madman2003@gmail.com>
Tue, 24 Jun 2008 10:38:57 +0000
(12:38 +0200)
linux-core/nv50_kms_wrapper.c
patch
|
blob
|
history
diff --git
a/linux-core/nv50_kms_wrapper.c
b/linux-core/nv50_kms_wrapper.c
index
b3d5ce6
..
8b97882
100644
(file)
--- a/
linux-core/nv50_kms_wrapper.c
+++ b/
linux-core/nv50_kms_wrapper.c
@@
-245,6
+245,8
@@
static int nv50_kms_crtc_cursor_set(struct drm_crtc *drm_crtc, uint32_t buffer_h
goto out;
}
+ crtc->cursor->visible = buffer_handle ? true : false;
+
if (buffer_handle) {
rval = crtc->cursor->show(crtc);
if (rval != 0)
@@
-858,6
+860,7
@@
static void nv50_kms_connector_fill_modes(struct drm_connector *drm_connector, u
drm_mode_connector_update_edid_property(drm_connector, edid);
ret = drm_add_edid_modes(drm_connector, edid);
connector->digital = edid->digital; /* cache */
+ kfree(edid);
}
if (ret) /* number of modes > 1 */