Commits on Source (2)
-
Ville Syrjälä authored
With the potential modeset vs. modifiers issue covered by commit 899c87af ("modesetting: unflip before any setcrtc() calls") we can safely enable modifiers by default, at least on Intel hardware where we know that things work properly. I suppose the one open question is whether everything will work correctly with wonky multi-GPU setups? I don't have one to test myself. Signed-off-by:
Ville Syrjälä <ville.syrjala@linux.intel.com>
-
xserver fails to generate useable resolutions with 90Hz framerate panels(encounter the same issue with 3 different 2.5k resolution panels). All the resolutions shown by xrandr lead to blank screen except the one written in EDID. Ville Syrjälä from Intel provides a method to calculate the preferred clock and refresh rate from the existing resolution table and this works for the issue. v2. xf86ModeVRefresh might return 0, need to check it before use it. v3. reported by Markus on launchpad that the issue is not devided by 0, it's the "preferred" being accessed unconditionally. BugLink: https://launchpad.net/bugs/1999852 Closes: xorg/xserver#1388 Signed-off-by:
Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Showing
- glamor/glamor_egl.c 2 additions, 0 deletionsglamor/glamor_egl.c
- hw/xfree86/common/xf86Mode.c 2 additions, 0 deletionshw/xfree86/common/xf86Mode.c
- hw/xfree86/drivers/modesetting/drmmode_display.c 12 additions, 1 deletionhw/xfree86/drivers/modesetting/drmmode_display.c
- include/displaymode.h 1 addition, 0 deletionsinclude/displaymode.h