[Intel-gfx] [Patch] KMS: Return false when the enum property value is not found
yakui.zhao at intel.com
yakui.zhao at intel.com
Wed Sep 30 09:31:57 CEST 2009
From: Zhao Yakui <yakui.zhao at intel.com>
When the enum property value is not found, the set_property callback function
should return false instead of true. Otherwise the xrandr tool will report
the incorrect property value.
Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
---
src/drmmode_display.c | 1 +
1 file changed, 1 insertion(+)
Index: xf86_video_intel/src/drmmode_display.c
===================================================================
--- xf86_video_intel.orig/src/drmmode_display.c 2009-09-23 09:08:56.000000000 +0800
+++ xf86_video_intel/src/drmmode_display.c 2009-09-30 15:23:43.000000000 +0800
@@ -1143,6 +1143,7 @@
return TRUE;
}
}
+ return FALSE;
}
}
More information about the Intel-gfx
mailing list