search for: rrconfigureoutputproperty

Displaying 3 results from an estimated 3 matches for "rrconfigureoutputproperty".

2013 Jun 06
1
[PATCH 1/2] nouveau/mode: split out create_ranged_atom
...eau_create_ranged_atom(xf86OutputPtr output, Atom *atom, + const char *name, INT32 min, INT32 max, + uint64_t value, Bool immutable) +{ + int err; + INT32 atom_range[2]; + + atom_range[0] = min; + atom_range[1] = max; + + *atom = MakeAtom(name, strlen(name), TRUE); + err = RRConfigureOutputProperty(output->randr_output, *atom, + FALSE, TRUE, immutable, + 2, atom_range); + if (err != 0) { + xf86DrvMsg(output->scrn->scrnIndex, X_ERROR, + "RRConfigureOutputProperty error, %d\n", err); + } + err = RRChangeOutputProperty(output->randr_output, *atom,...
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
...l @@ -711,6 +887,48 @@ drmmode_output_create_resources(xf86OutputPtr output) if (!drmmode_output->props) return; + if (drmmode_output->backlight_iface) { + int32_t data, backlight_range[2]; + + backlight_range[0] = 0; + backlight_range[1] = drmmode_output->backlight_max; + err = RRConfigureOutputProperty(output->randr_output, + drmmode->backlight_atom, + FALSE, TRUE, FALSE, 2, + backlight_range); + if (err != 0) + xf86DrvMsg(output->scrn->scrnIn...