* updated maddy (0.7.1 -> 0.8.1), untested
[t2sde.git] / package / kernel / linux / hotfix-gma500.patch
blob7e39c1d07e327cc8cbcf93a8866e6fc3ee18082d
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/hotfix-gma500.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 inf. loops on: Sony Corporation VGN-P91S/VAIO, BIOS R2073U3 01/13/2010
16 [ 926.465851] ? ioread32+0x9/0x27
17 [ 926.465862] ? REGISTER_READ+0x10/0x12 [gma500_gfx]
18 [ 926.465904] ? psb_intel_lvds_set_power+0x9e/0xae [gma500_gfx]
20 --- linux-6.8/drivers/gpu/drm/gma500/psb_intel_lvds.c.vanilla 2024-03-31 12:52:20.044961170 +0200
21 +++ linux-6.8/drivers/gpu/drm/gma500/psb_intel_lvds.c 2024-03-31 12:48:45.654963758 +0200
22 @@ -240,14 +240,16 @@
24 static void psb_intel_lvds_encoder_dpms(struct drm_encoder *encoder, int mode)
26 + if (0) {
27 struct drm_device *dev = encoder->dev;
29 if (mode == DRM_MODE_DPMS_ON)
30 psb_intel_lvds_set_power(dev, true);
31 else
32 psb_intel_lvds_set_power(dev, false);
34 /* XXX: We never power down the LVDS pairs. */
35 + }
38 static void psb_intel_lvds_save(struct drm_connector *connector)