Displaying 2 results from an estimated 2 matches for "drmmode_output_set_property".
2009 Aug 12
4
TV-out modesetting DDX patches
[PATCH 1/3] kms: Don't hardcode the output properties
[PATCH 2/3] kms: Implement output->get_property when RandR1.3 is available.
[PATCH 3/3] kms: Add TV-out support
src/drmmode_display.c | 403 ++++++++++++++++++++++++++++++++-----------------
1 files changed, 261 insertions(+), 142 deletions(-)
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...;scrnIndex, X_ERROR,
+ "RRChangeOutputProperty error, %d\n", err);
+ }
+
+
drmmode_output->num_props = 0;
for (i = 0, j = 0; i < mode_output->count_props; i++) {
drmmode_prop = drmModeGetProperty(drmmode->fd, mode_output->props[i]);
@@ -795,6 +1013,24 @@ drmmode_output_set_property(xf86OutputPtr output, Atom property,
drmmode_ptr drmmode = drmmode_output->drmmode;
int i, ret;
+ if (property == drmmode->backlight_atom ||
+ property == drmmode->backlight_deprecated_atom) {
+ int32_t val;
+
+ if (value->type != XA_INTEGER || value->format != 32...