search for: mode_id

Displaying 7 results from an estimated 7 matches for "mode_id".

Did you mean: node_id
2015 May 20
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
...put->count_props; i++) { props = drmModeGetProperty(drmmode->fd, koutput->props[i]); - if (props && (props->flags && DRM_MODE_PROP_ENUM)) { + if (props && (props->flags & DRM_MODE_PROP_ENUM)) { if (!strcmp(props->name, "DPMS")) { mode_id = koutput->props[i]; drmModeFreeProperty(props); -- 2.4.1
2015 May 20
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
...if (props && (props->flags && DRM_MODE_PROP_ENUM)) { >> + if (props && (props->flags & DRM_MODE_PROP_ENUM)) { >> if (!strcmp(props->name, "DPMS")) { >> mode_id = koutput->props[i]; >> drmModeFreeProperty(props); > > > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/nouveau
2010 Feb 10
0
[PATCH] Revert "kms: work around some bong hits with dpms"
...ions(+), 6 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 7c45d9c..a91741d 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -651,9 +651,6 @@ drmmode_output_dpms(xf86OutputPtr output, int mode) drmmode_ptr drmmode = drmmode_output->drmmode; int mode_id = -1, i; - if (!NVPTR(output->scrn)->allow_dpms) - return; - for (i = 0; i < koutput->count_props; i++) { props = drmModeGetProperty(drmmode->fd, koutput->props[i]); if (props && (props->flags && DRM_MODE_PROP_ENUM)) { diff --git a/src/nv_driver.c b/s...
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...>backlight_active_level); drmModeFreeConnector(drmmode_output->mode_output); free(drmmode_output); output->driver_private = NULL; @@ -679,6 +853,8 @@ drmmode_output_dpms(xf86OutputPtr output, int mode) drmModeConnectorSetProperty(drmmode->fd, koutput->connector_id, mode_id, mode); + drmmode_output_dpms_backlight(output, drmmode_output->dpms_mode, mode); + drmmode_output->dpms_mode = mode; } static Bool @@ -711,6 +887,48 @@ drmmode_output_create_resources(xf86OutputPtr output) if (!drmmode_output->props) return; + if (drmmode_output->backlight_i...
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:
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(-)
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...ob); for (i = 0; i < drmmode_output->num_props; i++) { drmModeFreeProperty(drmmode_output->props[i].mode_prop); free(drmmode_output->props[i].atoms); @@ -918,6 +980,9 @@ drmmode_output_dpms(xf86OutputPtr output, int mode) drmmode_ptr drmmode = drmmode_output->drmmode; int mode_id = -1, i; + if (!koutput) + return; + for (i = 0; i < koutput->count_props; i++) { props = drmModeGetProperty(drmmode->fd, koutput->props[i]); if (props && (props->flags & DRM_MODE_PROP_ENUM)) { @@ -1227,42 +1292,130 @@ drmmode_zaphod_match(ScrnInfoPtr pScrn, co...