1. 16 9月, 2021 6 次提交
  2. 15 9月, 2021 1 次提交
  3. 31 8月, 2021 1 次提交
  4. 19 8月, 2021 1 次提交
  5. 17 8月, 2021 4 次提交
  6. 10 8月, 2021 2 次提交
    • A
      drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work · 0cde63a8
      Anson Jacob 提交于
      Replace GFP_KERNEL with GFP_ATOMIC as amdgpu_dm_irq_schedule_work
      can't sleep.
      
      BUG: sleeping function called from invalid context at include/linux/sched/mm.h:196
      in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 253, name: kworker/6:1H
      CPU: 6 PID: 253 Comm: kworker/6:1H Tainted: G        W  OE     5.11.0-promotion_2021_06_07-18_36_28_prelim_revert_retrain #8
      Hardware name: System manufacturer System Product Name/PRIME X570-PRO, BIOS 3405 02/01/2021
      Workqueue: events_highpri dm_irq_work_func [amdgpu]
      Call Trace:
       <IRQ>
       dump_stack+0x5e/0x74
       ___might_sleep.cold+0x87/0x98
       __might_sleep+0x4b/0x80
       kmem_cache_alloc_trace+0x390/0x4f0
       amdgpu_dm_irq_handler+0x171/0x230 [amdgpu]
       amdgpu_irq_dispatch+0xc0/0x1e0 [amdgpu]
       amdgpu_ih_process+0x81/0x100 [amdgpu]
       amdgpu_irq_handler+0x26/0xa0 [amdgpu]
       __handle_irq_event_percpu+0x49/0x190
       ? __hrtimer_get_next_event+0x4d/0x80
       handle_irq_event_percpu+0x33/0x80
       handle_irq_event+0x33/0x60
       handle_edge_irq+0x82/0x190
       asm_call_irq_on_stack+0x12/0x20
       </IRQ>
       common_interrupt+0xbb/0x140
       asm_common_interrupt+0x1e/0x40
      RIP: 0010:amdgpu_device_rreg.part.0+0x44/0xf0 [amdgpu]
      Code: 53 48 89 fb 4c 3b af c8 08 00 00 73 6d 83 e2 02 75 0d f6 87 40 62 01 00 10 0f 85 83 00 00 00 4c 03 ab d0 08 00 00 45 8b 6d 00 <8b> 05 3e b6 52 00 85 c0 7e 62 48 8b 43 08 0f b7 70 3e 65 8b 05 e3
      RSP: 0018:ffffae7740fff9e8 EFLAGS: 00000286
      RAX: ffffffffc05ee610 RBX: ffff8aaf8f620000 RCX: 0000000000000006
      RDX: 0000000000000000 RSI: 0000000000005430 RDI: ffff8aaf8f620000
      RBP: ffffae7740fffa08 R08: 0000000000000001 R09: 000000000000000a
      R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000005430
      R13: 0000000071000000 R14: 0000000000000001 R15: 0000000000005430
       ? amdgpu_cgs_write_register+0x20/0x20 [amdgpu]
       amdgpu_device_rreg+0x17/0x20 [amdgpu]
       amdgpu_cgs_read_register+0x14/0x20 [amdgpu]
       dm_read_reg_func+0x38/0xb0 [amdgpu]
       generic_reg_wait+0x80/0x160 [amdgpu]
       dce_aux_transfer_raw+0x324/0x7c0 [amdgpu]
       dc_link_aux_transfer_raw+0x43/0x50 [amdgpu]
       dm_dp_aux_transfer+0x87/0x110 [amdgpu]
       drm_dp_dpcd_access+0x72/0x110 [drm_kms_helper]
       drm_dp_dpcd_read+0xb7/0xf0 [drm_kms_helper]
       drm_dp_get_one_sb_msg+0x349/0x480 [drm_kms_helper]
       drm_dp_mst_hpd_irq+0xc5/0xe40 [drm_kms_helper]
       ? drm_dp_mst_hpd_irq+0xc5/0xe40 [drm_kms_helper]
       dm_handle_hpd_rx_irq+0x184/0x1a0 [amdgpu]
       ? dm_handle_hpd_rx_irq+0x184/0x1a0 [amdgpu]
       handle_hpd_rx_irq+0x195/0x240 [amdgpu]
       ? __switch_to_asm+0x42/0x70
       ? __switch_to+0x131/0x450
       dm_irq_work_func+0x19/0x20 [amdgpu]
       process_one_work+0x209/0x400
       worker_thread+0x4d/0x3e0
       ? cancel_delayed_work+0xa0/0xa0
       kthread+0x124/0x160
       ? kthread_park+0x90/0x90
       ret_from_fork+0x22/0x30
      Reviewed-by: NAurabindo Jayamohanan Pillai <Aurabindo.Pillai@amd.com>
      Acked-by: NAnson Jacob <Anson.Jacob@amd.com>
      Signed-off-by: NAnson Jacob <Anson.Jacob@amd.com>
      Cc: stable@vger.kernel.org
      Tested-by: NDaniel Wheeler <daniel.wheeler@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      0cde63a8
    • A
      drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work · 704bd535
      Anson Jacob 提交于
      Replace GFP_KERNEL with GFP_ATOMIC as amdgpu_dm_irq_schedule_work
      can't sleep.
      
      BUG: sleeping function called from invalid context at include/linux/sched/mm.h:196
      in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 253, name: kworker/6:1H
      CPU: 6 PID: 253 Comm: kworker/6:1H Tainted: G        W  OE     5.11.0-promotion_2021_06_07-18_36_28_prelim_revert_retrain #8
      Hardware name: System manufacturer System Product Name/PRIME X570-PRO, BIOS 3405 02/01/2021
      Workqueue: events_highpri dm_irq_work_func [amdgpu]
      Call Trace:
       <IRQ>
       dump_stack+0x5e/0x74
       ___might_sleep.cold+0x87/0x98
       __might_sleep+0x4b/0x80
       kmem_cache_alloc_trace+0x390/0x4f0
       amdgpu_dm_irq_handler+0x171/0x230 [amdgpu]
       amdgpu_irq_dispatch+0xc0/0x1e0 [amdgpu]
       amdgpu_ih_process+0x81/0x100 [amdgpu]
       amdgpu_irq_handler+0x26/0xa0 [amdgpu]
       __handle_irq_event_percpu+0x49/0x190
       ? __hrtimer_get_next_event+0x4d/0x80
       handle_irq_event_percpu+0x33/0x80
       handle_irq_event+0x33/0x60
       handle_edge_irq+0x82/0x190
       asm_call_irq_on_stack+0x12/0x20
       </IRQ>
       common_interrupt+0xbb/0x140
       asm_common_interrupt+0x1e/0x40
      RIP: 0010:amdgpu_device_rreg.part.0+0x44/0xf0 [amdgpu]
      Code: 53 48 89 fb 4c 3b af c8 08 00 00 73 6d 83 e2 02 75 0d f6 87 40 62 01 00 10 0f 85 83 00 00 00 4c 03 ab d0 08 00 00 45 8b 6d 00 <8b> 05 3e b6 52 00 85 c0 7e 62 48 8b 43 08 0f b7 70 3e 65 8b 05 e3
      RSP: 0018:ffffae7740fff9e8 EFLAGS: 00000286
      RAX: ffffffffc05ee610 RBX: ffff8aaf8f620000 RCX: 0000000000000006
      RDX: 0000000000000000 RSI: 0000000000005430 RDI: ffff8aaf8f620000
      RBP: ffffae7740fffa08 R08: 0000000000000001 R09: 000000000000000a
      R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000005430
      R13: 0000000071000000 R14: 0000000000000001 R15: 0000000000005430
       ? amdgpu_cgs_write_register+0x20/0x20 [amdgpu]
       amdgpu_device_rreg+0x17/0x20 [amdgpu]
       amdgpu_cgs_read_register+0x14/0x20 [amdgpu]
       dm_read_reg_func+0x38/0xb0 [amdgpu]
       generic_reg_wait+0x80/0x160 [amdgpu]
       dce_aux_transfer_raw+0x324/0x7c0 [amdgpu]
       dc_link_aux_transfer_raw+0x43/0x50 [amdgpu]
       dm_dp_aux_transfer+0x87/0x110 [amdgpu]
       drm_dp_dpcd_access+0x72/0x110 [drm_kms_helper]
       drm_dp_dpcd_read+0xb7/0xf0 [drm_kms_helper]
       drm_dp_get_one_sb_msg+0x349/0x480 [drm_kms_helper]
       drm_dp_mst_hpd_irq+0xc5/0xe40 [drm_kms_helper]
       ? drm_dp_mst_hpd_irq+0xc5/0xe40 [drm_kms_helper]
       dm_handle_hpd_rx_irq+0x184/0x1a0 [amdgpu]
       ? dm_handle_hpd_rx_irq+0x184/0x1a0 [amdgpu]
       handle_hpd_rx_irq+0x195/0x240 [amdgpu]
       ? __switch_to_asm+0x42/0x70
       ? __switch_to+0x131/0x450
       dm_irq_work_func+0x19/0x20 [amdgpu]
       process_one_work+0x209/0x400
       worker_thread+0x4d/0x3e0
       ? cancel_delayed_work+0xa0/0xa0
       kthread+0x124/0x160
       ? kthread_park+0x90/0x90
       ret_from_fork+0x22/0x30
      Reviewed-by: NAurabindo Jayamohanan Pillai <Aurabindo.Pillai@amd.com>
      Acked-by: NAnson Jacob <Anson.Jacob@amd.com>
      Signed-off-by: NAnson Jacob <Anson.Jacob@amd.com>
      Cc: stable@vger.kernel.org
      Tested-by: NDaniel Wheeler <daniel.wheeler@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      704bd535
  7. 07 8月, 2021 1 次提交
  8. 06 8月, 2021 7 次提交
  9. 29 7月, 2021 3 次提交
  10. 28 7月, 2021 1 次提交
  11. 23 7月, 2021 4 次提交
  12. 17 7月, 2021 2 次提交
  13. 13 7月, 2021 1 次提交
  14. 09 7月, 2021 2 次提交
  15. 30 6月, 2021 3 次提交
  16. 23 6月, 2021 1 次提交