Commit 85a12d7
committed
drm/i915/tgl: Fix Media power gate sequence.
Some media power gates are disabled by default. commit 5d86923
("drm/i915/tgl: Enable VD HCP/MFX sub-pipe power gating")
tried to enable it, but it duplicated an existent register.
So, the main PG setup sequences ended up overwriting it.
So, let's now merge this to the main PG setup sequence.
v2: (Chris): s/BIT/REG_BIT, remove useless comment,
remove useless =0, use the right gt,
remove rc6 sequence doubt from commit message.
Fixes: 5d86923 ("drm/i915/tgl: Enable VD HCP/MFX sub-pipe power gating")
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: stable@vger.kernel.org#v5.5+
Cc: Dale B Stimson <dale.b.stimson@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20201111072859.1186070-1-rodrigo.vivi@intel.com
(cherry picked from commit 695dc55)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>1 parent 5ce6861 commit 85a12d7
3 files changed
+22
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
109 | 121 | | |
110 | 122 | | |
111 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8971 | 8971 | | |
8972 | 8972 | | |
8973 | 8973 | | |
8974 | | - | |
8975 | | - | |
8976 | | - | |
8977 | | - | |
8978 | 8974 | | |
8979 | 8975 | | |
8980 | 8976 | | |
| |||
9114 | 9110 | | |
9115 | 9111 | | |
9116 | 9112 | | |
9117 | | - | |
9118 | | - | |
9119 | | - | |
| 9113 | + | |
| 9114 | + | |
| 9115 | + | |
| 9116 | + | |
| 9117 | + | |
9120 | 9118 | | |
9121 | 9119 | | |
9122 | 9120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7118 | 7118 | | |
7119 | 7119 | | |
7120 | 7120 | | |
7121 | | - | |
7122 | | - | |
7123 | | - | |
7124 | 7121 | | |
7125 | 7122 | | |
7126 | 7123 | | |
7127 | 7124 | | |
7128 | | - | |
7129 | | - | |
7130 | | - | |
7131 | | - | |
7132 | | - | |
7133 | | - | |
7134 | | - | |
7135 | | - | |
7136 | | - | |
7137 | | - | |
7138 | 7125 | | |
7139 | 7126 | | |
7140 | 7127 | | |
| |||
0 commit comments