diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-06-24 12:38:57 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-06-24 12:38:57 +0200 |
commit | 14522b3e1bd1129333af7f1a16a436a5f90388ea (patch) | |
tree | c1f6431155e300cf536fcefde0d1d37ab387e7d8 | |
parent | 315fef7ee44f9ca565f158a6a84fd29b34e69fd8 (diff) |
NV50: fix a few misc things
-rw-r--r-- | linux-core/nv50_kms_wrapper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/nv50_kms_wrapper.c b/linux-core/nv50_kms_wrapper.c index b3d5ce65..8b97882a 100644 --- 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 */ |