search for: drmmode_crtc_dpms

Displaying 4 results from an estimated 4 matches for "drmmode_crtc_dpms".

2018 Sep 14
0
[ANNOUNCE] xf86-video-ati 18.1.0
...y 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_xf86crtc_resize Remove #if 0'd code Call drmmode_crtc_gamma_do_set from drmmode_setup_colormap glamor: Fix glamor_block_handler argument in radeon_glamor_finish glam...
2018 Sep 14
0
[ANNOUNCE] xf86-video-amdgpu 18.1.0
...y 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_xf86crtc_resize Don't apply gamma to HW cursor data if colour management is enabled Remove #if 0'd code Call drmmode_crtc_gamma_do_set from drmmode_setup_colormap...
2017 Mar 04
0
[DDX PATCH] Consider CRTCs disabled when DPMS is off
...drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; + + return crtc->enabled && drmmode_crtc->dpms_mode == DPMSModeOn; +} + int drmmode_head(xf86CrtcPtr crtc) { @@ -313,9 +322,10 @@ drmmode_ConvertToKMode(ScrnInfoPtr scrn, drmModeModeInfo *kmode, } static void -drmmode_crtc_dpms(xf86CrtcPtr drmmode_crtc, int mode) +drmmode_crtc_dpms(xf86CrtcPtr crtc, int mode) { - + drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; + drmmode_crtc->dpms_mode = mode; } void diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 81ee9be..cbb7b2a 100644 --- a/src/nou...
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...ht_active_level); + } else { + /* Only save the current backlight value if we're going from on + * to off. */ + if (oldmode == DPMSModeOn) + drmmode_output->backlight_active_level = drmmode_backlight_get(output); + drmmode_backlight_set(output, 0); + } +} + +static void drmmode_crtc_dpms(xf86CrtcPtr drmmode_crtc, int mode) { @@ -648,6 +819,9 @@ drmmode_output_destroy(xf86OutputPtr output) drmModeFreeProperty(drmmode_output->props[i].mode_prop); free(drmmode_output->props[i].atoms); } + if (drmmode_output->backlight_iface) + drmmode_backlight_set(output, +...