Displaying 8 results from an estimated 8 matches for "randr_output".
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
..._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->scrnIndex, X_ERROR,
+...
2013 Jun 06
1
[PATCH 1/2] nouveau/mode: split out create_ranged_atom
...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,
+				 XA_INTEGER, 32, P...
2008 Jul 06
3
[Bug 16624] New: invalid pointer past to RRChangeOutputProperty
...rtedBy: obiwan at mailmij.org
         QAContact: xorg-team at lists.x.org
                CC: keithp at keithp.com
Created an attachment (id=17547)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=17547)
proposed patch for the issue
In nv_output:
error = RRChangeOutputProperty(output->randr_output, dithering_atom,
                                        XA_INTEGER, 32, PropModeReplace, 1,
&nv_output->dithering,FALSE, FALSE);
&nv_output->dithering is a Boolean, but the property is set up as int32. On big
endian systems, this results in the property set being 0x1000000 instead o...
2018 Aug 07
0
[ANNOUNCE] xorg-server 1.20.1
...ed
      meson: don't put literal 'PACKAGE_STRING' and 'XORG_MAN_PAGE' in man pages
      meson: use absolute paths in manpage substitutions
Keith Packard (6):
      modesetting: Allow a DRM fd to be passed on command line with -masterfd [v2]
      xfree86: Reset randr_crtc and randr_output early in xf86CrtcCloseScreen
      xfree86: Wrap RRCrtcIsLeased and RROutputIsLeased to check for DIX structures
      xf86-video-modesetting: Don't enable UNIVERSAL_PLANES separately
      xf86-video-modesetting: Lease planes as well if using atomic
      During reset/shutdown, clean up leases...
2018 Jun 21
10
[Bug 106994] New: [PATCH] Fix null pointer dereference in drmmode_output_dpms
https://bugs.freedesktop.org/show_bug.cgi?id=106994
            Bug ID: 106994
           Summary: [PATCH] Fix null pointer dereference in
                    drmmode_output_dpms
           Product: xorg
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component:
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...t;
 	drmmode_output->mode_encoder = kencoder;
 	drmmode_output->drmmode = drmmode;
@@ -1316,6 +1458,9 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num, int crtcshi
 	output->interlaceAllowed = true;
 	output->doubleScanAllowed = true;
 
+	if (dynamic)
+		output->randr_output = RROutputCreate(xf86ScrnToScreen(pScrn), output->name, strlen(output->name), output);
+
 	return 1;
 }
 
@@ -1429,6 +1574,7 @@ static const xf86CrtcConfigFuncsRec drmmode_xf86crtc_config_funcs = {
 Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp)
 {
 	drmmode_ptr drmmode;
+	drmModeR...
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...t;
 	drmmode_output->mode_encoder = kencoder;
 	drmmode_output->drmmode = drmmode;
@@ -1316,6 +1469,9 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num, int crtcshi
 	output->interlaceAllowed = true;
 	output->doubleScanAllowed = true;
 
+	if (dynamic)
+		output->randr_output = RROutputCreate(xf86ScrnToScreen(pScrn), output->name, strlen(output->name), output);
+
 	return 1;
 }
 
@@ -1429,6 +1585,7 @@ static const xf86CrtcConfigFuncsRec drmmode_xf86crtc_config_funcs = {
 Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp)
 {
 	drmmode_ptr drmmode;
+	drmModeR...