NV50: fix a few misc things

main
Maarten Maathuis 2008-06-24 12:38:57 +02:00
parent 315fef7ee4
commit 14522b3e1b
1 changed files with 3 additions and 0 deletions

View File

@ -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 */