[Openchrome-devel] xf86-video-openchrome: src/via_kms.c
James Simmons
jsimmons at kemper.freedesktop.org
Thu Sep 5 15:51:19 PDT 2013
src/via_kms.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 94e5ff32de58ee66ea5588ee47050f44b914e863
Author: James Simmons <jsimmons at infradead.org>
Date: Thu Sep 5 18:51:11 2013 -0400
The mode passed into drmmmode_set_mode_major does not always have a name string. When xf86SetModeDefaultName is called it frees a null string which caused a segfault. No need to create a default name so remove xf86SetModeDefaultName
diff --git a/src/via_kms.c b/src/via_kms.c
index 9547d5d..2bb0a86 100644
--- a/src/via_kms.c
+++ b/src/via_kms.c
@@ -187,7 +187,6 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
output_count++;
}
- xf86SetModeDefaultName(mode);
drmmode_ConvertToKMode(crtc->scrn, &kmode, mode);
if (drmmode->fb_id == 0) {
More information about the Openchrome-devel
mailing list