search for: output_id

Displaying 10 results from an estimated 10 matches for "output_id".

2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...yBlobPtr tile_blob; int num_props; drmmode_prop_ptr props; } drmmode_output_private_rec, *drmmode_output_private_ptr; @@ -477,6 +477,8 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, continue; drmmode_output = output->driver_private; + if (drmmode_output->output_id == -1) + continue; output_ids[output_count] = drmmode_output->mode_output->connector_id; output_count++; @@ -770,7 +772,7 @@ static const xf86CrtcFuncsRec drmmode_crtc_funcs = { static unsigned int -drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) +drmmode_c...
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn); + int i; + for (i = 0; i < xf86_config->num_output; i++) { + xf86OutputPtr output = xf86_config->output[i]; + drmmode_output_private_ptr drmmode_output; + + drmmode_output = output->driver_private; + if (drmmode_output->output_id == id) + return output; + } + return NULL; +} + +static int parse_path_blob(drmModePropertyBlobPtr path_blob, int *conn_base_id, char **path) +{ + char *conn; + char conn_id[5]; + int id, len; + char *blob_data; + + if (!path_blob) + return -1; + + blob_data = path_blob->data; + /* we only ha...
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(-)
2015 Nov 09
0
[ANNOUNCE] xorg-server 1.18.0
...pdate to reflect -nolisten tcp becoming default       Xserver.man: document more transports for -nolisten & -listen options Axel Davy (1):       present: Fix Async swap logic Daniel Martin (3):       modesetting: Handle failures in setting a CRTC to a DRM mode properly       modesetting: Free output_ids in drmmode_set_mode_major()       modesetting: Remove XF86_CRTC_VERSION checks Jammy Zhou (1):       present: Execute right away if target_msc equals current_msc Julien Cristau (1):       Xext: fix build with --disable-xace Martin Peres (1):       os: make sure the clientsWritable fd_set is ini...
2015 Nov 09
0
[ANNOUNCE] xorg-server 1.18.0
...pdate to reflect -nolisten tcp becoming default       Xserver.man: document more transports for -nolisten & -listen options Axel Davy (1):       present: Fix Async swap logic Daniel Martin (3):       modesetting: Handle failures in setting a CRTC to a DRM mode properly       modesetting: Free output_ids in drmmode_set_mode_major()       modesetting: Remove XF86_CRTC_VERSION checks Jammy Zhou (1):       present: Execute right away if target_msc equals current_msc Julien Cristau (1):       Xext: fix build with --disable-xace Martin Peres (1):       os: make sure the clientsWritable fd_set is ini...
2015 Nov 12
0
[ANNOUNCE] xf86-video-ati 7.6.1
This is a brown paper bag release fixing a double-free bug in the 7.6.0 release. I could swear I'd tested this appropriately yesterday, but apparently not. :( Michel Dänzer (3): Post 7.6.0 release version bump Remove duplicate free(output_ids) call Set version for 7.6.1 release git tag: xf86-video-ati-7.6.1 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-ati-7.6.1.tar.bz2 MD5: ede86cd3d1b1d8882f0aea61d9e924ed xf86-video-ati-7.6.1.tar.bz2 SHA1: b517c7fc8e7df0fb0ece0c9a5446b092ec944479 xf86-video-ati-7.6.1.tar...
2018 Mar 02
0
[ANNOUNCE] xf86-video-amdgpu 18.0.0
...ybody who contributed to this release in any way! Christoph Haag (1): fix include order for present.h configure test Daniel Martin (3): modesetting: Check crtc before searching link-status property modesetting: Use helper to fetch drmModeProperty(Blob)s modesetting: Reset output_id if drmModeGetConnector failed Darren Salt (1): Clarify when TearFree is automatically enabled. Hawking Zhang (1): Add 30bit RGB color format support Keith Packard (2): modesetting: Skip no-longer-present connectors when resetting BAD links modesetting: Update property val...
2018 Mar 06
0
[ANNOUNCE] xf86-video-ati 18.0.0
...ybody who contributed to this release in any way! Christoph Haag (1): fix include order for present.h configure test Daniel Martin (3): modesetting: Check crtc before searching link-status property modesetting: Use helper to fetch drmModeProperty(Blob)s modesetting: Reset output_id if drmModeGetConnector failed Darren Salt (1): Clarify when TearFree is automatically enabled. Fredrik Höglund (1): exa: Accelerate ARGB2101010 pictures Joakim Tjernlund (1): Fix non GLAMOR build Keith Packard (2): modesetting: Skip no-longer-present connectors when rese...
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
..._level = val; + return TRUE; + } + for (i = 0; i < drmmode_output->num_props; i++) { drmmode_prop_ptr p = &drmmode_output->props[i]; @@ -864,6 +1100,27 @@ drmmode_output_get_property(xf86OutputPtr output, Atom property) drmModeGetConnector(drmmode->fd, drmmode_output->output_id); } + if (property == drmmode->backlight_atom || + property == drmmode->backlight_deprecated_atom) { + int32_t val; + if (!drmmode_output->backlight_iface) + return FALSE; + + val = drmmode_backlight_get(output); + if (val < 0) + return FALSE; + err = R...
2018 Feb 28
0
[ANNOUNCE] xserver 1.20 RC1
...to_core test: signal-logging: Fix looping signed number tests Use ARRAY_SIZE all over the tree os/xdmcp: Honour -once when session is dead xfree86: Fix set but not used warnings in lnx_platform modesetting: Fix log msg if pixmap creation failed modesetting: Reset output_id if drmModeGetConnector failed modesetting: Remove unused define DRV_ERROR modesetting: Remove #if 0 CMAP_LOAD_EVEN_IF_OFFSCREEN Daniel Stone (5): modesetting: Set correct DRM event context version README: HTTPS everywhere README: Add link to fd.o CoC Build: Use...