xserver/include
Chia-Lin Kao (AceLan) f59871587e hw/xfree86: re-calculate the clock and refresh rate
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: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1388
Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
2023-12-22 05:02:05 +00:00
..
.gitignore Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
busfault.h
callback.h
client.h
closestr.h
closure.h
colormap.h
colormapst.h
cursor.h
cursorstr.h
dbus-core.h
displaymode.h hw/xfree86: re-calculate the clock and refresh rate 2023-12-22 05:02:05 +00:00
dix-config-apple-verbatim.h
dix.h Convert more funcs to use InternalEvent. 2021-12-19 20:01:04 +00:00
dixaccess.h
dixevents.h
dixfont.h
dixfontstr.h
dixgrabs.h xi: Implement grab support for new gesture event types 2021-05-30 13:26:32 +03:00
dixstruct.h
eventconvert.h dix: Add new internal event enums for gesture events 2021-05-30 13:26:30 +03:00
events.h xi: Implement internal gesture event struct 2021-05-30 13:26:31 +03:00
eventstr.h mi: reset the PointerWindows reference on screen switch 2023-10-25 00:37:47 +00:00
exevents.h xi: Implement grab support for new gesture event types 2021-05-30 13:26:32 +03:00
extension.h
extinit.h Allow disabling the SHAPE extension at runtime 2023-03-03 18:28:40 +00:00
extnsionst.h
fourcc.h glamor: xv: add rgb565 2023-11-29 21:18:29 +00:00
gc.h
gcstruct.h
globals.h
glx_extinit.h
glxvndabi.h Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
hotplug.h
input.h dix: clean up the GestureInfoRec on device close 2023-12-05 14:21:28 +10:00
inputstr.h input: Add new hook DeviceSendEventsProc for XTEST 2023-06-26 13:19:19 +02:00
inpututils.h Implement gesture processing logic 2021-05-30 13:26:42 +03:00
list.h
meson.build os: Use LOCAL_PEERCRED to determine local client PID on FreeBSD 2023-12-17 17:07:16 +00:00
misc.h
miscstruct.h
nonsdk_extinit.h
opaque.h Disallow byte-swapped clients by default 2023-01-06 11:59:37 +10:00
optionstr.h
os.h Switch to libbsd-overlay 2023-08-16 19:56:50 +00:00
pixmap.h dix: Remove pScratchPixmap and other associated ABI changes 2022-12-30 01:32:25 +00:00
pixmapstr.h rootless: Use screen_x and screen_y instead of pixmap pointer hacks 2023-01-20 17:10:54 +00:00
privates.h Fix compilation with windows.h from latest w32api 2021-08-31 16:56:28 +00:00
probes.h Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00
property.h Mark the dixChangeWindowProperty() value argument as const 2021-07-30 08:36:35 +00:00
propertyst.h
protocol-versions.h dpms: Add support for DPMSInfoNotify event from DPMS 1.2 (xorgproto) 2023-12-18 16:35:51 +03:00
ptrveloc.h
region.h
regionstr.h
registry.h
resource.h
rgb.h
screenint.h
scrnintstr.h dix: Remove pScratchPixmap and other associated ABI changes 2022-12-30 01:32:25 +00:00
selection.h
servermd.h
swaprep.h
swapreq.h
systemd-logind.h xf86/logind: Fix compilation error when built without logind/platform bus 2021-12-20 16:56:14 +01:00
validate.h
vidmodestr.h
window.h
windowstr.h
XIstubs.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xkb-config.h.in
xkbfile.h
xkbrules.h
xkbsrv.h dix: Force update LEDs after device state update in EnableDevice 2023-02-21 03:43:05 +00:00
xkbstr.h Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
xorg-config.h.meson.in xf86AutoConfig: try modesetting on all platforms we build it on 2022-09-20 18:26:03 +00:00
xorg-server.h.meson.in
Xprintf.h Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00
xserver-properties.h
Xserver.d Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00
xserver_poll.h
xsha1.h
xwayland-config.h.meson.in xwayland: Add XTEST support using EIS 2023-06-26 13:19:19 +02:00
xwin-config.h.meson.in