Michel Dänzer
360930985e
Revert "drm/amd/display: Do not set drr on pipe commit"
This reverts commit e101bf95ea.
Caused a regression:
Samsung Odyssey Neo G9, running at 5120x1440@240/VRR, connected to Navi
21 via DisplayPort, blanks and the GPU hangs while starting the Steam
game Assetto Corsa Competizione (via Proton 7.0).
Example dmesg excerpt:
amdgpu 0000:0c:00.0: [drm] ERROR [CRTC:82:crtc-0] flip_done timed out
NMI watchdog: Watchdog detected hard LOCKUP on cpu 6
[...]
RIP: 0010:amdgpu_device_rreg.part.0+0x2f/0xf0 [amdgpu]
Code: 41 54 44 8d 24 b5 00 00 00 00 55 89 f5 53 48 89 fb 4c 3b a7 60 0b 00 00 73 6a 83 e2 02 74 29 4c 03 a3 68 0b 00 00 45 8b 24 24 <48> 8b 43 08 0f b7 70 3e 66 90 44 89 e0 5b 5d 41 5c 31 d2 31 c9 31
RSP: 0000:ffffb39a119dfb88 EFLAGS: 00000086
RAX: ffffffffc0eb96a0 RBX: ffff9e7963dc0000 RCX: 0000000000007fff
RDX: 0000000000000000 RSI: 0000000000004ff6 RDI: ffff9e7963dc0000
RBP: 0000000000004ff6 R08: ffffb39a119dfc40 R09: 0000000000000010
R10: ffffb39a119dfc40 R11: ffffb39a119dfc44 R12: 00000000000e05ae
R13: 0000000000000000 R14: ffff9e7963dc0010 R15: 0000000000000000
FS: 000000001012f6c0(0000) GS:ffff9e805eb80000(0000) knlGS:000000007fd40000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000461ca000 CR3: 00000002a8a20000 CR4: 0000000000350ee0
Call Trace:
<TASK>
dm_read_reg_func+0x37/0xc0 [amdgpu]
generic_reg_get2+0x22/0x60 [amdgpu]
optc1_get_crtc_scanoutpos+0x6a/0xc0 [amdgpu]
dc_stream_get_scanoutpos+0x74/0x90 [amdgpu]
dm_crtc_get_scanoutpos+0x82/0xf0 [amdgpu]
amdgpu_display_get_crtc_scanoutpos+0x91/0x190 [amdgpu]
? dm_read_reg_func+0x37/0xc0 [amdgpu]
amdgpu_get_vblank_counter_kms+0xb4/0x1a0 [amdgpu]
dm_pflip_high_irq+0x213/0x2f0 [amdgpu]
amdgpu_dm_irq_handler+0x8a/0x200 [amdgpu]
amdgpu_irq_dispatch+0xd4/0x220 [amdgpu]
amdgpu_ih_process+0x7f/0x110 [amdgpu]
amdgpu_irq_handler+0x1f/0x70 [amdgpu]
__handle_irq_event_percpu+0x46/0x1b0
handle_irq_event+0x34/0x80
handle_edge_irq+0x9f/0x240
__common_interrupt+0x66/0x110
common_interrupt+0x5c/0xd0
asm_common_interrupt+0x22/0x40
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-06-09 10:55:43 -04:00
..
2023-04-08 10:44:23 +03:00
2023-01-22 08:37:23 +01:00
2023-03-24 13:45:58 -07:00
2023-01-27 13:45:52 +01:00
2023-02-24 12:47:33 -08:00
2023-03-16 16:54:38 +09:00
2023-03-21 20:19:28 -07:00
2023-03-05 11:19:16 -08:00
2023-01-27 13:45:52 +01:00
2023-03-20 20:01:25 -06:00
2023-03-23 13:09:38 -07:00
2023-03-14 11:43:51 +08:00
2023-03-12 23:28:10 +02:00
2023-03-06 14:41:20 -08:00
2023-02-21 09:45:13 -08:00
2023-01-22 08:37:23 +01:00
2023-01-18 09:59:58 -05:00
2023-03-03 10:30:58 -08:00
2023-03-07 14:04:13 +01:00
2023-03-05 11:32:30 -08:00
2023-02-25 09:19:23 -08:00
2023-02-25 09:19:23 -08:00
2023-02-24 17:18:54 -08:00
2023-03-29 15:45:38 +02:00
2023-02-21 08:10:03 -08:00
2023-01-27 13:45:52 +01:00
2023-02-04 13:05:42 +00:00
2023-02-24 12:58:55 -08:00
2023-03-24 15:38:13 -07:00
2023-02-24 12:58:55 -08:00
2023-01-27 13:45:38 +01:00
2023-03-07 14:15:10 +01:00
2023-06-09 10:55:43 -04:00
2023-01-27 13:45:52 +01:00
2023-03-09 10:17:23 -08:00
2023-02-24 12:58:55 -08:00
2023-02-24 12:58:55 -08:00
2023-03-21 19:14:55 -07:00
2023-02-24 12:58:55 -08:00
2023-03-16 21:15:43 +01:00
2023-02-28 16:05:01 -08:00
2023-02-21 12:13:58 -08:00
2023-02-24 12:47:33 -08:00
2023-02-24 15:11:03 -08:00
2023-02-27 10:04:49 -08:00
2023-03-13 21:13:48 +02:00
2023-02-27 10:04:49 -08:00
2023-02-24 12:58:55 -08:00
2023-02-25 11:30:21 -08:00
2023-02-23 15:09:31 -08:00
2023-02-25 11:00:06 -08:00
2023-02-23 14:47:13 -06:00
2023-01-27 13:45:52 +01:00
2023-03-24 14:20:48 -07:00
2023-03-18 11:07:15 -07:00
2023-03-13 21:13:49 +02:00
2023-02-27 09:47:26 -08:00
2023-02-27 14:05:08 -08:00
2023-03-24 20:22:03 +01:00
2023-03-09 15:33:51 +01:00
2023-01-19 17:16:05 +01:00
2023-03-11 09:24:05 -08:00
2023-03-23 16:03:33 -07:00
2023-03-15 00:28:23 -07:00
2023-02-25 11:48:02 -08:00
2023-03-22 09:17:52 +01:00
2023-03-10 10:55:49 +01:00
2023-02-24 13:40:13 -08:00
2023-02-16 13:48:53 +01:00
2023-02-24 12:47:33 -08:00
2023-03-13 09:15:11 +01:00
2023-02-24 12:58:55 -08:00
2023-03-03 09:32:51 -08:00
2023-02-27 10:04:49 -08:00
2023-02-27 10:04:49 -08:00
2023-03-24 09:05:25 -07:00
2023-03-12 23:28:04 +01:00
2023-03-03 10:30:58 -08:00
2023-01-19 16:04:35 +01:00
2023-02-20 14:56:51 +01:00
2023-02-22 21:23:48 -08:00
2023-02-20 12:26:35 +01:00
2023-01-27 13:45:52 +01:00
2023-03-02 09:21:25 -08:00
2023-02-27 10:04:49 -08:00
2023-02-26 12:10:28 -08:00
2023-03-03 09:15:50 -08:00
2023-03-03 14:41:50 -08:00
2023-02-09 16:51:39 -08:00
2023-03-24 08:27:13 -07:00
2023-03-01 09:44:22 -08:00
2023-01-27 13:45:52 +01:00
2023-03-06 20:13:06 -08:00
2023-02-24 17:29:52 -08:00
2023-03-02 09:25:38 -08:00
2023-01-27 13:45:52 +01:00
2023-01-27 13:45:52 +01:00
2023-04-06 15:02:17 +02:00
2023-03-06 16:50:42 -05:00
2023-03-17 15:30:31 +01:00
2023-03-24 17:11:27 +01:00
2023-03-20 19:00:58 +02:00
2023-03-24 09:44:43 -07:00
2023-03-09 21:09:28 -05:00
2023-02-23 17:09:35 -08:00
2023-03-23 19:13:16 +01:00
2023-03-13 02:29:12 -04:00
2023-03-13 12:50:59 -06:00
2023-03-13 02:29:11 -04:00
2023-04-04 14:55:58 +02:00
2023-03-13 13:29:27 +01:00
2023-02-25 11:48:02 -08:00
2023-03-09 21:58:57 +01:00
2023-03-02 11:12:01 -08:00
2023-03-17 10:45:49 -07:00
2023-01-27 13:45:52 +01:00
2023-02-26 11:53:25 -08:00