Commit eff82fb
drm/i915/alpm: Stop writing ALPM registers when PSR is enabled
Currently we are seeing these on PTL:
xe 0000:00:02.0: [drm] *ERROR* Timeout waiting for DDI BUF A to get active
These seem to be caused by writing ALPM registers while Panel Replay is
enabled.
Fix this by writing ALPM registers only when Panel Replay is about to be
enabled.
v4: improve comment on intel_psr_panel_replay_enable_sink call
v3: enable/disable ALPM from PSR code
Fixes: 172757a ("drm/i915/lobf: Add lobf enablement in post plane update")
Signed-off-by: Jouni Högander <[email protected]>
Reviewed-by: Suraj Kandpal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
(cherry picked from commit a8eb102)
Signed-off-by: Joonas Lahtinen <[email protected]>1 parent 411c869 commit eff82fb
2 files changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
457 | | - | |
| 456 | + | |
| 457 | + | |
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
| 803 | + | |
| 804 | + | |
803 | 805 | | |
804 | 806 | | |
805 | 807 | | |
| |||
1962 | 1964 | | |
1963 | 1965 | | |
1964 | 1966 | | |
| 1967 | + | |
| 1968 | + | |
1965 | 1969 | | |
1966 | 1970 | | |
1967 | 1971 | | |
| |||
2029 | 2033 | | |
2030 | 2034 | | |
2031 | 2035 | | |
2032 | | - | |
2033 | | - | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
2034 | 2039 | | |
2035 | 2040 | | |
2036 | 2041 | | |
| |||
2172 | 2177 | | |
2173 | 2178 | | |
2174 | 2179 | | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
2175 | 2183 | | |
2176 | 2184 | | |
2177 | 2185 | | |
| |||
3498 | 3506 | | |
3499 | 3507 | | |
3500 | 3508 | | |
3501 | | - | |
3502 | 3509 | | |
3503 | 3510 | | |
3504 | 3511 | | |
| |||
0 commit comments