Merge lp:~jderose/system76-driver/fix-1356507 into lp:system76-driver

Proposed by Jason Gerard DeRose
Status: Merged
Merged at revision: 259
Proposed branch: lp:~jderose/system76-driver/fix-1356507
Merge into: lp:system76-driver
Diff against target: 118 lines (+2/-38)
4 files modified
debian/changelog (+2/-0)
system76driver/actions.py (+0/-14)
system76driver/products.py (+0/-6)
system76driver/tests/test_actions.py (+0/-18)
To merge this branch: bzr merge lp:~jderose/system76-driver/fix-1356507
Reviewer Review Type Date Requested Status
David Overcash (community) Approve
System76 Development Pending
Review via email: mp+235532@code.launchpad.net

Description of the change

For background, please see:
https://bugs.launchpad.net/system76-driver/+bug/1356507

Changes:

 * Drop `actions.disable_power_well` from daru4, galu1, gazp9, gazp9b, kudp1, kudp1b

 * Remove `actions.disable_power_well` and its tests

 * Add debian/changelog entry

To post a comment you must log in.
Revision history for this message
David Overcash (funnylookinhat) wrote :

Looks rock solid.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2014-09-22 19:38:31 +0000
3+++ debian/changelog 2014-09-22 20:55:08 +0000
4@@ -1,6 +1,8 @@
5 system76-driver (14.10.0~pre1) utopic; urgency=low
6
7 * Start 14.10.x series, initial Utopic release
8+ * Drop `disable_power_well` action as it's no longer needed for Haswell
9+ laptop products with the Linux 3.16 kernel (LP: #1356507)
10 * FILL ME IN
11
12 -- Jason Gerard DeRose <jason@system76.com> Mon, 22 Sep 2014 13:34:50 -0600
13
14=== modified file 'system76driver/actions.py'
15--- system76driver/actions.py 2014-05-08 23:01:33 +0000
16+++ system76driver/actions.py 2014-09-22 20:55:08 +0000
17@@ -349,20 +349,6 @@
18 return _('Enable Radeon GPU power management')
19
20
21-class disable_power_well(GrubAction):
22- """
23- Add i915.disable_power_well=0 to GRUB_CMDLINE_LINUX_DEFAULT.
24-
25- This fixes the HDMI playback speed issue on Intel Haswell GPUs (playback
26- speed is faster than it should be, aka the "chipmunk problem").
27- """
28-
29- add = ('i915.disable_power_well=0',)
30-
31- def describe(self):
32- return _('Fix HDMI audio playback speed')
33-
34-
35 class plymouth1080(Action):
36 update_grub = True
37 value = 'GRUB_GFXPAYLOAD_LINUX="1920x1080"'
38
39=== modified file 'system76driver/products.py'
40--- system76driver/products.py 2014-09-04 18:09:44 +0000
41+++ system76driver/products.py 2014-09-22 20:55:08 +0000
42@@ -86,7 +86,6 @@
43 actions.wifi_pm_disable,
44 actions.hdmi_hotplug_fix,
45 actions.backlight_vendor,
46- actions.disable_power_well,
47 actions.internal_mic_gain,
48 ],
49 },
50@@ -98,7 +97,6 @@
51 actions.wifi_pm_disable,
52 actions.internal_mic_gain,
53 actions.hdmi_hotplug_fix,
54- actions.disable_power_well,
55 ],
56 },
57
58@@ -141,7 +139,6 @@
59 'drivers': [
60 actions.wifi_pm_disable,
61 actions.hdmi_hotplug_fix,
62- actions.disable_power_well,
63 actions.backlight_vendor, # Still needed for some early BIOS
64 ],
65 },
66@@ -150,7 +147,6 @@
67 'drivers': [
68 actions.wifi_pm_disable,
69 actions.hdmi_hotplug_fix,
70- actions.disable_power_well,
71 actions.remove_backlight_vendor,
72 actions.internal_mic_gain, # Only for gazp9b
73 ],
74@@ -194,7 +190,6 @@
75 'drivers': [
76 actions.wifi_pm_disable,
77 actions.hdmi_hotplug_fix,
78- actions.disable_power_well,
79 ],
80 },
81 'kudp1b': {
82@@ -202,7 +197,6 @@
83 'drivers': [
84 actions.wifi_pm_disable,
85 actions.hdmi_hotplug_fix,
86- actions.disable_power_well,
87 actions.internal_mic_gain, # Only for kudp1b
88 ],
89 },
90
91=== modified file 'system76driver/tests/test_actions.py'
92--- system76driver/tests/test_actions.py 2014-05-08 23:01:33 +0000
93+++ system76driver/tests/test_actions.py 2014-09-22 20:55:08 +0000
94@@ -805,24 +805,6 @@
95 )
96
97
98-class Test_disable_power_well(TestCase):
99- def test_describe(self):
100- inst = actions.disable_power_well()
101- self.assertEqual(inst.describe(),
102- 'Fix HDMI audio playback speed'
103- )
104-
105- def test_build_new_cmdline(self):
106- inst = actions.disable_power_well()
107- self.assertEqual(inst.add,
108- ('i915.disable_power_well=0',)
109- )
110- self.assertEqual(inst.remove, tuple())
111- self.assertEqual(inst.build_new_cmdline('quiet splash'),
112- 'i915.disable_power_well=0 quiet splash'
113- )
114-
115-
116 class Test_plymouth1080(TestCase):
117 def test_init(self):
118 inst = actions.plymouth1080()

Subscribers

People subscribed via source and target branches