Commits on Source (9)
-
Povilas Kanapickas authored
The current URL points to an unrelated patch for acpid. Signed-off-by:
Povilas Kanapickas <povilas@radix.lt>
-
Povilas Kanapickas authored
In both cases we check for width > 0 just above, and the variable is not modified between the checks, so the condition is always true. Signed-off-by:
Povilas Kanapickas <povilas@radix.lt>
-
Povilas Kanapickas authored
Meson gets confused when there are two targets of the same name within the same directory, so we use a different intermediate name. This is a problem with the Xorg SUID wrapper which has the same filename as the real Xorg executable and is configured in the same meson.build file. This commit works around this by using a different filename in build stage and renaming only when installing. Signed-off-by:
Povilas Kanapickas <povilas@radix.lt>
-
Povilas Kanapickas authored
-
Povilas Kanapickas authored
-
Povilas Kanapickas authored
This brings the behavior closer than what we currently have with autotools-based build system. Meson does not currently have native support for symlinks. See https://github.com/mesonbuild/meson/issues/1602 . Signed-off-by:
Povilas Kanapickas <povilas@radix.lt>
-
Povilas Kanapickas authored
The xkb spec defines that the 7th element of the DeviceValuator key action description is "valuator 2 value". This error most likely was accidentally introduced as a copy-paste error in edeb033f. Signed-off-by:
Povilas Kanapickas <povilas@radix.lt>
-
This helps on KAME-based systems which want to get rid of this hack. The assumption is that if sin6_scope_id is set, then the interface index is no longer embedded in the address. Signed-off-by:
Jeremie Courreges-Anglas <jca@wxcvbn.org>
-
Aaron Plattner authored
Rather than trying to create a gamma ramp array of the appropriate size in drmmode_crtc_init when the GAMMA_LUT property should be used, just flag the crtc as wanting to use the GAMMA_LUT property and then replace the gamma ramp later, right before calling xf86HandleColormaps. This avoids a problem during initial startup where xf86RandR12CreateObjects12 hard-codes a gamma ramp size of 256, causing xf86RandR12CrtcSetGamma to read past the end of the DIX layer's RandR gamma ramp array: PreInit drmmode_pre_init drmmode_crtc_init crtc->gamma_size = 1024 ScreenInit xf86CrtcScreenInit xf86RandR12Init xf86RandR12Init12 xf86RandR12CreateObjects12 RRCrtcCreate randr_crtc->gammaSize = 0 xf86RandR12InitGamma(pScrn, 256) RRCrtcGammaSetSize randr_crtc->gammaSize = 256 xf86RandR12InitGamma xf86RandR12CrtcInitGamma RRCrtcGammaSet xf86RandR12CrtcSetGamma // crtc->gamma_size is 1024 here, while randr_crtc->gammaRed // is a 256-element array. memcpy(crtc->gamma_red, randr_crtc->gammaRed, crtc->gamma_size * sizeof(crtc->gamma_red[0])); drmmode_setup_colormap xf86HandleColormaps xf86RandR12InitGamma RRCrtcGammaSetSize randr_crtc->gammaSize = 1024 Fixes: 245b9db0 - modesetting: Use GAMMA_LUT when available Closes: #1126 Signed-off-by:
Aaron Plattner <aplattner@nvidia.com> Reviewed-by:
Robert Morell <rmorell@nvidia.com>
Showing
- dix/enterleave.c 1 addition, 1 deletiondix/enterleave.c
- hw/xfree86/drivers/modesetting/drmmode_display.c 53 additions, 32 deletionshw/xfree86/drivers/modesetting/drmmode_display.c
- hw/xfree86/meson.build 18 additions, 3 deletionshw/xfree86/meson.build
- meson.build 1 addition, 1 deletionmeson.build
- miext/rootless/rootlessGC.c 2 additions, 8 deletionsmiext/rootless/rootlessGC.c
- os/access.c 1 addition, 1 deletionos/access.c
- xkb/xkmread.c 1 addition, 1 deletionxkb/xkmread.c