1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../linux/ppc-radeon-qw-pm.patch
5 # Copyright (C) 2008 - 2019 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- linux-5.1/drivers/video/fbdev/aty/radeon_pm.c.orig 2019-05-11 11:05:49.676261522 +0000
18 +++ linux-5.1/drivers/video/fbdev/aty/radeon_pm.c 2019-05-11 11:07:11.132261185 +0000
20 radeon_pm_m10_enable_lvds_spread_spectrum(rinfo);
23 -#if 0 /* Not ready yet */
24 static void radeon_reinitialize_QW(struct radeonfb_info *rinfo)
29 OUTREG(CUR_OFFSET, 0);
33 #endif /* CONFIG_PPC_OF */
35 @@ -2849,12 +2849,10 @@
36 rinfo->reinit_func = radeon_reinitialize_M10;
37 rinfo->pm_mode |= radeon_pm_off;
39 -#if 0 /* Not ready yet */
40 if (!strcmp(rinfo->of_node->name, "ATY,BlueStoneParent")) {
41 rinfo->reinit_func = radeon_reinitialize_QW;
42 rinfo->pm_mode |= radeon_pm_off;
45 if (of_node_name_eq(rinfo->of_node, "ATY,ViaParent")) {
46 rinfo->reinit_func = radeon_reinitialize_M9P;
47 rinfo->pm_mode |= radeon_pm_off;