search for: drmmode_output

Displaying 11 results from an estimated 11 matches for "drmmode_output".

2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...ted_atom; } drmmode_rec, *drmmode_ptr; typedef struct { @@ -81,6 +99,10 @@ typedef struct { drmModePropertyBlobPtr edid_blob; int num_props; drmmode_prop_ptr props; + char *backlight_iface; + int32_t backlight_active_level; + int32_t backlight_max; + int dpms_mode; } drmmode_output_private_rec, *drmmode_output_private_ptr; static void drmmode_output_dpms(xf86OutputPtr output, int mode); @@ -160,6 +182,155 @@ drmmode_ConvertToKMode(ScrnInfoPtr scrn, drmModeModeInfo *kmode, } static void +drmmode_backlight_set(xf86OutputPtr output, int level) +{ + drmmode_output_private_...
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...p; drmEventContext event_context; #ifdef HAVE_LIBUDEV @@ -83,6 +82,7 @@ typedef struct { drmModeConnectorPtr mode_output; drmModeEncoderPtr mode_encoder; drmModePropertyBlobPtr edid_blob; + drmModePropertyBlobPtr 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->mo...
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 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...p; drmEventContext event_context; #ifdef HAVE_LIBUDEV @@ -83,6 +82,7 @@ typedef struct { drmModeConnectorPtr mode_output; drmModeEncoderPtr mode_encoder; drmModePropertyBlobPtr edid_blob; + drmModePropertyBlobPtr tile_blob; int num_props; drmmode_prop_ptr props; } drmmode_output_private_rec, *drmmode_output_private_ptr; @@ -770,7 +770,7 @@ static const xf86CrtcFuncsRec drmmode_crtc_funcs = { static unsigned int -drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) +drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_res, int num)...
2013 Jun 06
0
[PATCH 2/2] nouveau: add libbacklight and randr property support.
...th, int height); typedef struct { int fd; @@ -82,6 +86,11 @@ typedef struct { drmModePropertyBlobPtr edid_blob; int num_props; drmmode_prop_ptr props; +#ifdef HAVE_LIBBACKLIGHT + struct backlight *backlight; + int backlight_active_level; + int backlight_max; +#endif } drmmode_output_private_rec, *drmmode_output_private_ptr; typedef struct { @@ -99,6 +108,13 @@ typedef struct { Bool dispatch_me; } drmmode_flipevtcarrier_rec, *drmmode_flipevtcarrier_ptr; +#ifdef HAVE_LIBBACKLIGHT +#define BACKLIGHT_NAME "Backlight" +#define BACKLIGHT_DEPRECATED_N...
2013 Jun 06
1
[PATCH 1/2] nouveau/mode: split out create_ranged_atom
...} + err = RRChangeOutputProperty(output->randr_output, *atom, + XA_INTEGER, 32, PropModeReplace, 1, &value, FALSE, TRUE); + if (err != 0) { + xf86DrvMsg(output->scrn->scrnIndex, X_ERROR, + "RRChangeOutputProperty error, %d\n", err); + } +} + +static void drmmode_output_create_resources(xf86OutputPtr output) { drmmode_output_private_ptr drmmode_output = output->driver_private; @@ -800,30 +827,17 @@ drmmode_output_create_resources(xf86OutputPtr output) value = drmmode_output->mode_output->prop_values[p->index]; if (drmmode_prop->flags &amp...
2015 Jun 28
3
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...insertions(+), 4 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index c30cb3a..3679482 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -1214,7 +1214,7 @@ drmmode_zaphod_match(ScrnInfoPtr pScrn, const char *s, char *output_name) } static unsigned int -drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) +drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num, int crtcshift) { NVPtr pNv = NVPTR(pScrn); xf86OutputPtr output; @@ -1296,8 +1296,8 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) output->s...
2010 Feb 10
0
[PATCH] Revert "kms: work around some bong hits with dpms"
...splay.c | 3 --- src/nv_driver.c | 2 -- src/nv_type.h | 1 - 3 files changed, 0 insertions(+), 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]); i...
2015 Aug 06
0
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...-git a/src/drmmode_display.c b/src/drmmode_display.c > index c30cb3a..3679482 100644 > --- a/src/drmmode_display.c > +++ b/src/drmmode_display.c > @@ -1214,7 +1214,7 @@ drmmode_zaphod_match(ScrnInfoPtr pScrn, const char *s, char *output_name) > } > > static unsigned int > -drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) > +drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num, int crtcshift) > { > NVPtr pNv = NVPTR(pScrn); > xf86OutputPtr output; > @@ -1296,8 +1296,8 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode...
2018 Sep 14
0
[ANNOUNCE] xf86-video-ati 18.1.0
...R CRTC state if set_mode_major fails in set_desired_modes Simplify drmmode_crtc_scanout_update Don't call scanout_flip/update with a legacy RandR scanout buffer Simplify drmmode_handle_transform Set drmmode_crtc->scanout_id = 0 when TearFree is disabled Refactor drmmode_output_set_tear_free helper Wait for pending flips in drmmode_output_set_tear_free Replace 'foo == NULL' with '!foo' Call drmmode_do_crtc_dpms from drmmode_crtc_dpms as well Use drmmode_crtc_dpms in drmmode_set_desired_modes Check dimensions passed to drmmode_...
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: Driver/nouveau Assignee: nouveau at lists.freedesktop.org Rep...