linux/drivers/gpu/drm/amd/amdgpu
Johannes Weiner 8678b1060a drm/amdgpu: fix deadlock while reading mqd from debugfs
An errant disk backup on my desktop got into debugfs and triggered the
following deadlock scenario in the amdgpu debugfs files. The machine
also hard-resets immediately after those lines are printed (although I
wasn't able to reproduce that part when reading by hand):

[ 1318.016074][ T1082] ======================================================
[ 1318.016607][ T1082] WARNING: possible circular locking dependency detected
[ 1318.017107][ T1082] 6.8.0-rc7-00015-ge0c8221b72c0 #17 Not tainted
[ 1318.017598][ T1082] ------------------------------------------------------
[ 1318.018096][ T1082] tar/1082 is trying to acquire lock:
[ 1318.018585][ T1082] ffff98c44175d6a0 (&mm->mmap_lock){++++}-{3:3}, at: __might_fault+0x40/0x80
[ 1318.019084][ T1082]
[ 1318.019084][ T1082] but task is already holding lock:
[ 1318.020052][ T1082] ffff98c4c13f55f8 (reservation_ww_class_mutex){+.+.}-{3:3}, at: amdgpu_debugfs_mqd_read+0x6a/0x250 [amdgpu]
[ 1318.020607][ T1082]
[ 1318.020607][ T1082] which lock already depends on the new lock.
[ 1318.020607][ T1082]
[ 1318.022081][ T1082]
[ 1318.022081][ T1082] the existing dependency chain (in reverse order) is:
[ 1318.023083][ T1082]
[ 1318.023083][ T1082] -> #2 (reservation_ww_class_mutex){+.+.}-{3:3}:
[ 1318.024114][ T1082]        __ww_mutex_lock.constprop.0+0xe0/0x12f0
[ 1318.024639][ T1082]        ww_mutex_lock+0x32/0x90
[ 1318.025161][ T1082]        dma_resv_lockdep+0x18a/0x330
[ 1318.025683][ T1082]        do_one_initcall+0x6a/0x350
[ 1318.026210][ T1082]        kernel_init_freeable+0x1a3/0x310
[ 1318.026728][ T1082]        kernel_init+0x15/0x1a0
[ 1318.027242][ T1082]        ret_from_fork+0x2c/0x40
[ 1318.027759][ T1082]        ret_from_fork_asm+0x11/0x20
[ 1318.028281][ T1082]
[ 1318.028281][ T1082] -> #1 (reservation_ww_class_acquire){+.+.}-{0:0}:
[ 1318.029297][ T1082]        dma_resv_lockdep+0x16c/0x330
[ 1318.029790][ T1082]        do_one_initcall+0x6a/0x350
[ 1318.030263][ T1082]        kernel_init_freeable+0x1a3/0x310
[ 1318.030722][ T1082]        kernel_init+0x15/0x1a0
[ 1318.031168][ T1082]        ret_from_fork+0x2c/0x40
[ 1318.031598][ T1082]        ret_from_fork_asm+0x11/0x20
[ 1318.032011][ T1082]
[ 1318.032011][ T1082] -> #0 (&mm->mmap_lock){++++}-{3:3}:
[ 1318.032778][ T1082]        __lock_acquire+0x14bf/0x2680
[ 1318.033141][ T1082]        lock_acquire+0xcd/0x2c0
[ 1318.033487][ T1082]        __might_fault+0x58/0x80
[ 1318.033814][ T1082]        amdgpu_debugfs_mqd_read+0x103/0x250 [amdgpu]
[ 1318.034181][ T1082]        full_proxy_read+0x55/0x80
[ 1318.034487][ T1082]        vfs_read+0xa7/0x360
[ 1318.034788][ T1082]        ksys_read+0x70/0xf0
[ 1318.035085][ T1082]        do_syscall_64+0x94/0x180
[ 1318.035375][ T1082]        entry_SYSCALL_64_after_hwframe+0x46/0x4e
[ 1318.035664][ T1082]
[ 1318.035664][ T1082] other info that might help us debug this:
[ 1318.035664][ T1082]
[ 1318.036487][ T1082] Chain exists of:
[ 1318.036487][ T1082]   &mm->mmap_lock --> reservation_ww_class_acquire --> reservation_ww_class_mutex
[ 1318.036487][ T1082]
[ 1318.037310][ T1082]  Possible unsafe locking scenario:
[ 1318.037310][ T1082]
[ 1318.037838][ T1082]        CPU0                    CPU1
[ 1318.038101][ T1082]        ----                    ----
[ 1318.038350][ T1082]   lock(reservation_ww_class_mutex);
[ 1318.038590][ T1082]                                lock(reservation_ww_class_acquire);
[ 1318.038839][ T1082]                                lock(reservation_ww_class_mutex);
[ 1318.039083][ T1082]   rlock(&mm->mmap_lock);
[ 1318.039328][ T1082]
[ 1318.039328][ T1082]  *** DEADLOCK ***
[ 1318.039328][ T1082]
[ 1318.040029][ T1082] 1 lock held by tar/1082:
[ 1318.040259][ T1082]  #0: ffff98c4c13f55f8 (reservation_ww_class_mutex){+.+.}-{3:3}, at: amdgpu_debugfs_mqd_read+0x6a/0x250 [amdgpu]
[ 1318.040560][ T1082]
[ 1318.040560][ T1082] stack backtrace:
[ 1318.041053][ T1082] CPU: 22 PID: 1082 Comm: tar Not tainted 6.8.0-rc7-00015-ge0c8221b72c0 #17 3316c85d50e282c5643b075d1f01a4f6365e39c2
[ 1318.041329][ T1082] Hardware name: Gigabyte Technology Co., Ltd. B650 AORUS PRO AX/B650 AORUS PRO AX, BIOS F20 12/14/2023
[ 1318.041614][ T1082] Call Trace:
[ 1318.041895][ T1082]  <TASK>
[ 1318.042175][ T1082]  dump_stack_lvl+0x4a/0x80
[ 1318.042460][ T1082]  check_noncircular+0x145/0x160
[ 1318.042743][ T1082]  __lock_acquire+0x14bf/0x2680
[ 1318.043022][ T1082]  lock_acquire+0xcd/0x2c0
[ 1318.043301][ T1082]  ? __might_fault+0x40/0x80
[ 1318.043580][ T1082]  ? __might_fault+0x40/0x80
[ 1318.043856][ T1082]  __might_fault+0x58/0x80
[ 1318.044131][ T1082]  ? __might_fault+0x40/0x80
[ 1318.044408][ T1082]  amdgpu_debugfs_mqd_read+0x103/0x250 [amdgpu 8fe2afaa910cbd7654c8cab23563a94d6caebaab]
[ 1318.044749][ T1082]  full_proxy_read+0x55/0x80
[ 1318.045042][ T1082]  vfs_read+0xa7/0x360
[ 1318.045333][ T1082]  ksys_read+0x70/0xf0
[ 1318.045623][ T1082]  do_syscall_64+0x94/0x180
[ 1318.045913][ T1082]  ? do_syscall_64+0xa0/0x180
[ 1318.046201][ T1082]  ? lockdep_hardirqs_on+0x7d/0x100
[ 1318.046487][ T1082]  ? do_syscall_64+0xa0/0x180
[ 1318.046773][ T1082]  ? do_syscall_64+0xa0/0x180
[ 1318.047057][ T1082]  ? do_syscall_64+0xa0/0x180
[ 1318.047337][ T1082]  ? do_syscall_64+0xa0/0x180
[ 1318.047611][ T1082]  entry_SYSCALL_64_after_hwframe+0x46/0x4e
[ 1318.047887][ T1082] RIP: 0033:0x7f480b70a39d
[ 1318.048162][ T1082] Code: 91 ba 0d 00 f7 d8 64 89 02 b8 ff ff ff ff eb b2 e8 18 a3 01 00 0f 1f 84 00 00 00 00 00 80 3d a9 3c 0e 00 00 74 17 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 5b c3 66 2e 0f 1f 84 00 00 00 00 00 53 48 83
[ 1318.048769][ T1082] RSP: 002b:00007ffde77f5c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[ 1318.049083][ T1082] RAX: ffffffffffffffda RBX: 0000000000000800 RCX: 00007f480b70a39d
[ 1318.049392][ T1082] RDX: 0000000000000800 RSI: 000055c9f2120c00 RDI: 0000000000000008
[ 1318.049703][ T1082] RBP: 0000000000000800 R08: 000055c9f2120a94 R09: 0000000000000007
[ 1318.050011][ T1082] R10: 0000000000000000 R11: 0000000000000246 R12: 000055c9f2120c00
[ 1318.050324][ T1082] R13: 0000000000000008 R14: 0000000000000008 R15: 0000000000000800
[ 1318.050638][ T1082]  </TASK>

amdgpu_debugfs_mqd_read() holds a reservation when it calls
put_user(), which may fault and acquire the mmap_sem. This violates
the established locking order.

Bounce the mqd data through a kernel buffer to get put_user() out of
the illegal section.

Fixes: 445d85e3c1 ("drm/amdgpu: add debugfs interface for reading MQDs")
Cc: stable@vger.kernel.org # v6.5+
Reviewed-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-03-27 09:30:34 -04:00
..
Kconfig drm/amdkfd: switch over to using drm_exec v3 2023-07-12 14:14:26 +02:00
Makefile drm/amdgpu: Add nbif v6_3_1 ip block support 2024-03-07 15:32:42 -05:00
ObjectID.h drm/amd: Add USBC connector ID 2022-03-22 10:53:39 -04:00
aldebaran.c drm/amdgpu: Fix ecc irq enable/disable unpaired 2024-01-03 10:30:49 -05:00
aldebaran.h
aldebaran_reg_init.c
amdgpu.h Revert "drm/amd: Remove freesync video mode amdgpu parameter" 2024-02-29 20:35:31 -05:00
amdgpu_aca.c drm/amdgpu: use helper macro HW_ERR instead of Hardware error string 2024-01-29 15:47:02 -05:00
amdgpu_aca.h drm/amdgpu: adjust aca init/fini sequence to match gpu reset 2024-01-25 14:58:02 -05:00
amdgpu_acp.c drm/amdgpu: fix i2s_pdata out of bound array access 2022-07-28 16:05:16 -04:00
amdgpu_acp.h
amdgpu_acpi.c drm/amdgpu: Fix the runtime resume failure issue 2024-02-26 11:11:46 -05:00
amdgpu_afmt.c
amdgpu_amdkfd.c drm/amdgpu: Init zone device and drm client after mode-1 reset on reload 2024-03-20 13:12:57 -04:00
amdgpu_amdkfd.h amd/amdkfd: remove unused parameter 2024-02-28 17:10:53 -05:00
amdgpu_amdkfd_aldebaran.c drm/amdkfd: workaround address watch clearing bug for gfx v9.4.2 2023-08-15 18:08:27 -04:00
amdgpu_amdkfd_aldebaran.h drm/amdkfd: add kfd2kgd debugger callbacks for GC v9.4.3 2023-07-12 10:58:01 -04:00
amdgpu_amdkfd_arcturus.c drm/amdgpu: Fix the warning info in mode1 reset 2024-01-31 17:34:05 -05:00
amdgpu_amdkfd_arcturus.h drm/amdkfd: replace kgd_dev in hqd/mqd kfd2kgd funcs 2021-11-17 16:58:01 -05:00
amdgpu_amdkfd_fence.c drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()' 2024-01-05 16:10:43 -05:00
amdgpu_amdkfd_gc_9_4_3.c amdgpu: Adjust kmalloc_array calls for new -Walloc-size 2023-11-17 09:29:54 -05:00
amdgpu_amdkfd_gfx_v7.c amdgpu: Adjust kmalloc_array calls for new -Walloc-size 2023-11-17 09:29:54 -05:00
amdgpu_amdkfd_gfx_v8.c amdgpu: Adjust kmalloc_array calls for new -Walloc-size 2023-11-17 09:29:54 -05:00
amdgpu_amdkfd_gfx_v9.c amdgpu: Adjust kmalloc_array calls for new -Walloc-size 2023-11-17 09:29:54 -05:00
amdgpu_amdkfd_gfx_v9.h drm/amdkfd: Fix reg offset for setting CWSR grace period 2023-09-11 18:15:43 -04:00
amdgpu_amdkfd_gfx_v10.c drm/amdkfd: Fix reg offset for setting CWSR grace period 2023-09-11 18:15:43 -04:00
amdgpu_amdkfd_gfx_v10.h drm/amdkfd: Fix reg offset for setting CWSR grace period 2023-09-11 18:15:43 -04:00
amdgpu_amdkfd_gfx_v10_3.c drm/amdkfd: add debug set and clear address watch points operation 2023-06-09 12:36:46 -04:00
amdgpu_amdkfd_gfx_v11.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
amdgpu_amdkfd_gpuvm.c drm/amdgpu: Handle duplicate BOs during process restore 2024-03-20 13:12:56 -04:00
amdgpu_atombios.c drm/amdgpu: check PS, WS index 2024-01-15 18:35:37 -05:00
amdgpu_atombios.h drm/amdgpu: Clean up errors in amdgpu_atombios.h 2023-08-09 09:43:40 -04:00
amdgpu_atomfirmware.c drm/amdgpu: check PS, WS index 2024-01-15 18:35:37 -05:00
amdgpu_atomfirmware.h drm/amdgpu: Clean up errors in amdgpu_atomfirmware.h 2024-01-15 18:35:38 -05:00
amdgpu_atpx_handler.c drm/amdgpu: Prefer pr_err/_warn/_notice over printk in amdgpu_atpx_handler.c 2023-08-07 17:13:10 -04:00
amdgpu_benchmark.c drm/amdgpu: use ktime rather than jiffies for benchmark results 2022-02-23 14:02:51 -05:00
amdgpu_bios.c drm next and fixes for 6.7-rc1 2023-11-07 17:10:02 -08:00
amdgpu_bo_list.c drm/amdgpu: fix error handling in amdgpu_bo_list_get() 2023-11-09 16:59:57 -05:00
amdgpu_bo_list.h drm/amdgpu: Annotate struct amdgpu_bo_list with __counted_by 2023-10-05 17:59:35 -04:00
amdgpu_cgs.c drm/amdgpu: Cleanup amdgpu/amdgpu_cgs.c 2023-08-07 17:12:49 -04:00
amdgpu_connectors.c drm/amdgpu: Cleanup indenting in amdgpu_connector_dvi_detect() 2024-01-03 11:16:05 -05:00
amdgpu_connectors.h
amdgpu_cs.c drm/amdgpu: Auto-validate DMABuf imports in compute VMs 2024-01-15 18:35:35 -05:00
amdgpu_cs.h drm/amdgpu: use the new drm_exec object for CS v3 2023-07-12 14:14:50 +02:00
amdgpu_csa.c drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole 2024-02-16 15:41:50 -05:00
amdgpu_csa.h drm/amdgpu: unmap and remove csa_va properly 2023-06-09 12:47:26 -04:00
amdgpu_ctx.c drm/sched: Rename priority MIN to LOW 2023-11-24 23:03:53 -05:00
amdgpu_ctx.h drm/amdgpu: add VM generation token 2023-06-15 11:37:55 -04:00
amdgpu_debugfs.c drm/amdgpu: change vm->task_info handling 2024-03-04 15:59:08 -05:00
amdgpu_debugfs.h drm/amdgpu: SW part of MES event log enablement 2023-12-07 17:43:13 -05:00
amdgpu_device.c drm/amd: Flush GFXOFF requests in prepare stage 2024-03-27 08:55:54 -04:00
amdgpu_df.h drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
amdgpu_discovery.c drm/amdgpu: enable UMSCH 4.0.6 2024-03-27 09:30:05 -04:00
amdgpu_discovery.h drm/amdgpu: Increase IP discovery region size 2023-10-13 10:59:16 -04:00
amdgpu_display.c drm/amd: Drop abm_level property 2024-02-27 10:46:59 -05:00
amdgpu_display.h drm/amdgpu: move non-DC vblank handling out of irq code 2022-11-15 11:51:36 -05:00
amdgpu_dma_buf.c drm/amdgpu: Auto-validate DMABuf imports in compute VMs 2024-01-15 18:35:35 -05:00
amdgpu_dma_buf.h
amdgpu_doorbell.h drm/amdkfd: get doorbell's absolute offset based on the db_size 2023-10-09 17:02:34 -04:00
amdgpu_doorbell_mgr.c drm/amdgpu: fix SI failure due to doorbells allocation 2023-10-09 17:59:29 -04:00
amdgpu_drv.c drm/amdgpu: Init zone device and drm client after mode-1 reset on reload 2024-03-20 13:12:57 -04:00
amdgpu_drv.h drm/amdgpu: support partition drm devices 2023-06-09 09:59:20 -04:00
amdgpu_eeprom.c drm/amdgpu: Fix unnecessary else after return in 'amdgpu_eeprom_xfer' 2023-07-27 14:59:29 -04:00
amdgpu_eeprom.h
amdgpu_encoders.c drm/amd/amdgpu: Fix warnings in amdgpu_encoders.c 2023-06-09 10:38:09 -04:00
amdgpu_fdinfo.c drm/amdgpu: add shared fdinfo stats 2024-02-16 12:52:50 +01:00
amdgpu_fdinfo.h drm/amdgpu: Switch to fdinfo helper 2023-05-24 18:03:29 +02:00
amdgpu_fence.c drm/amdgpu: Simplify the allocation of fence slab caches 2024-02-22 10:28:19 -05:00
amdgpu_fru_eeprom.c drm/amdgpu: Avoid FRU EEPROM access on APU 2023-10-13 11:32:41 -04:00
amdgpu_fru_eeprom.h drm/amdgpu: Add more FRU field information 2023-10-09 16:52:17 -04:00
amdgpu_fw_attestation.c drm/amdgpu: Fix do not add new typedefs in amdgpu_fw_attestation.c 2023-07-25 13:36:08 -04:00
amdgpu_fw_attestation.h
amdgpu_gart.c drm/amd/amdgpu: Assign GART pages to AMD device mapping 2024-01-25 15:47:36 -05:00
amdgpu_gart.h drm/amdgpu: Allocate GART table in RAM for AMD APU 2023-06-09 09:51:06 -04:00
amdgpu_gds.h
amdgpu_gem.c drm/amdgpu: change vm->task_info handling 2024-03-04 15:59:08 -05:00
amdgpu_gem.h drm/amdkfd: Store xcp partition id to amdgpu bo 2023-06-09 10:36:38 -04:00
amdgpu_gfx.c drm/amdgpu: correct the KGQ fallback message 2024-03-20 13:12:58 -04:00
amdgpu_gfx.h drm/amdgpu: Drop redundant parameter in amdgpu_gfx_kiq_init_ring 2024-02-22 10:17:45 -05:00
amdgpu_gfxhub.h drm/amdgpu: revert context to stop engine before mode2 reset 2022-08-16 18:14:31 -04:00
amdgpu_gmc.c drm/amdgpu: add tmz support for GC IP v11.5.1 2024-02-22 10:14:30 -05:00
amdgpu_gmc.h drm/amdgpu: move kiq_reg_write_reg_wait() out of amdgpu_virt.c 2024-01-15 18:35:36 -05:00
amdgpu_gtt_mgr.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
amdgpu_hdp.c drm/amdgpu: Move hdp ras block init to ras sw_init 2023-03-13 17:27:48 -04:00
amdgpu_hdp.h drm/amdgpu: Move hdp ras block init to ras sw_init 2023-03-13 17:27:48 -04:00
amdgpu_hmm.c drm/amdgpu: fix use-after-free bug 2024-03-20 13:12:56 -04:00
amdgpu_hmm.h drm/amdgpu: Add notifier lock for KFD userptrs 2022-12-14 09:48:05 -05:00
amdgpu_i2c.c drm: remove I2C_CLASS_DDC support 2024-01-18 21:10:41 +01:00
amdgpu_i2c.h
amdgpu_ib.c drm/amdgpu: cleanup conditional execution 2024-03-04 15:59:08 -05:00
amdgpu_ids.c drm/amdgpu: Remove usage of the deprecated ida_simple_xx() API 2024-01-18 15:42:13 -05:00
amdgpu_ids.h drm/amdgpu: add option params to enforce process isolation between graphics and compute 2023-06-09 12:49:48 -04:00
amdgpu_ih.c drm/amdgpu: Increase soft IH ring size 2023-07-12 10:57:25 -04:00
amdgpu_ih.h drm/amdgpu: Increase IH soft ring size for GFX v9.4.3 dGPU 2023-09-26 16:54:51 -04:00
amdgpu_imu.h drm/amdgpu: use the callback function for reset status polling on IMU 2022-06-03 16:44:15 -04:00
amdgpu_ioc32.c drm:amdgpu:remove unneeded variable 2021-12-13 16:34:27 -05:00
amdgpu_irq.c drm/amd: Fix the flag setting code for interrupt request 2023-09-11 17:10:09 -04:00
amdgpu_irq.h drm/amdgpu: complement the IH node_id table for multiple AIDs 2023-06-09 09:43:50 -04:00
amdgpu_job.c drm/amdgpu: change vm->task_info handling 2024-03-04 15:59:08 -05:00
amdgpu_job.h drm/amdgpu: add VM generation token 2023-06-15 11:37:55 -04:00
amdgpu_jpeg.c drm/amdgpu: Add JPEG5 support 2024-02-12 16:12:00 -05:00
amdgpu_jpeg.h drm/amdgpu/jpeg: add support for jpeg DPG mode 2024-02-12 16:09:32 -05:00
amdgpu_kms.c drm/amdgpu: Enable seq64 manager and fix bugs 2024-01-22 17:13:18 -05:00
amdgpu_lsdma.c drm/amdgpu: support fill mem for LSDMA 2022-05-10 17:53:11 -04:00
amdgpu_lsdma.h drm/amdgpu: support memory power gating for lsdma 2022-05-10 17:53:12 -04:00
amdgpu_mca.c drm/amdgpu: use helper macro HW_ERR instead of Hardware error string 2024-01-29 15:47:02 -05:00
amdgpu_mca.h drm/amdgpu: add interface to check mca umc status 2024-01-22 17:13:25 -05:00
amdgpu_mes.c drm/amdgpu: Only create mes event log debugfs when mes is enabled 2024-02-07 10:00:56 -05:00
amdgpu_mes.h drm/amdkfd: fix mes set shader debugger process management 2023-12-13 16:07:43 -05:00
amdgpu_mes_ctx.h drm/amdgpu: add mc wptr addr support for mes 2022-06-28 11:24:05 -04:00
amdgpu_mmhub.c drm/amdgpu: Move mmhub ras block init to ras sw_init 2023-03-13 17:27:48 -04:00
amdgpu_mmhub.h drm/amdgpu: Add query_ras_error_count for mmhub v1_8 2023-06-09 09:53:13 -04:00
amdgpu_mode.h drm/amd: Drop abm_level property 2024-02-27 10:46:59 -05:00
amdgpu_nbio.c Revert "drm/amdgpu: Add pcie usage callback to nbio" 2024-02-22 10:21:27 -05:00
amdgpu_nbio.h Revert "drm/amdgpu: Add pcie usage callback to nbio" 2024-02-22 10:21:27 -05:00
amdgpu_object.c drm/amdgpu: add shared fdinfo stats 2024-02-16 12:52:50 +01:00
amdgpu_object.h drm/amdgpu: add shared fdinfo stats 2024-02-16 12:52:50 +01:00
amdgpu_pll.c drm/amd: fix improper docstring syntax 2021-12-13 16:32:34 -05:00
amdgpu_pll.h
amdgpu_pmu.c drm/amdgpu: Use local64_try_cmpxchg in amdgpu_perf_read 2023-08-09 18:08:51 -04:00
amdgpu_pmu.h
amdgpu_preempt_mgr.c drm/amdgpu: remove PL_PREEMPT accounting 2022-02-14 15:05:39 +01:00
amdgpu_psp.c drm/amdgpu: Bypass display ta if display hw is not available 2024-03-20 13:12:58 -04:00
amdgpu_psp.h drm/amdgpu/psp: handle TMR type via flag 2024-02-14 17:18:16 -05:00
amdgpu_psp_ta.c drm/amdgpu: Fix shared buff copy to user 2024-02-07 18:22:04 -05:00
amdgpu_psp_ta.h drm/amdgpu: Optimize TA load/unload/invoke debugfs interfaces 2022-10-27 15:12:08 -04:00
amdgpu_rap.c drm/amdgpu: Remove CONFIG_DEBUG_FS guard around body of amdgpu_rap_debugfs_init() 2023-06-23 15:33:09 -04:00
amdgpu_rap.h
amdgpu_ras.c drm/amdgpu: Fix ineffective ras_mask settings 2024-02-26 11:14:37 -05:00
amdgpu_ras.h drm/amdgpu: Add fatal error detected flag 2024-02-26 11:14:24 -05:00
amdgpu_ras_eeprom.c drm/amdgpu: send smu rma reason event in ras eeprom driver 2024-02-12 16:08:27 -05:00
amdgpu_ras_eeprom.h drm/amdgpu: Set EEPROM ras info 2023-06-09 12:44:40 -04:00
amdgpu_res_cursor.h drm/amdgpu: Drop unnecessary return statements 2023-10-05 17:59:35 -04:00
amdgpu_reset.c drm/amdgpu: add ring timeout information in devcoredump 2024-03-06 15:24:50 -05:00
amdgpu_reset.h drm/amdgpu: add ring timeout information in devcoredump 2024-03-06 15:24:50 -05:00
amdgpu_ring.c drm/amdgpu: fix deadlock while reading mqd from debugfs 2024-03-27 09:30:34 -04:00
amdgpu_ring.h drm/amdgpu: workaround to avoid SET_Q_MODE packets v2 2024-03-04 15:59:08 -05:00
amdgpu_ring_mux.c drm/amdgpu: Simplify the allocation of mux_chunk slab caches 2024-02-22 10:28:24 -05:00
amdgpu_ring_mux.h drm/amdgpu: set completion status as preempted for the resubmission 2023-07-27 15:04:19 -04:00
amdgpu_rlc.c drm/amdgpu: Clean up errors in amdgpu_rlc.c 2024-01-15 18:35:38 -05:00
amdgpu_rlc.h drm/amd/amdgpu: Update RLC_SPM_MC_CNT by ring wreg in guest 2024-01-18 15:45:58 -05:00
amdgpu_sa.c drm/amd: Make fence wait in suballocator uninterruptible 2023-09-01 15:12:07 +02:00
amdgpu_sched.c drm/amdgpu: add a missing lock for AMDGPU_SCHED 2023-06-09 09:25:02 -04:00
amdgpu_sched.h
amdgpu_sdma.c Merge tag 'drm-misc-next-2023-10-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2023-10-31 10:47:50 +10:00
amdgpu_sdma.h drm/amdgpu: move buffer funcs setting up a level 2023-10-26 16:04:24 -04:00
amdgpu_securedisplay.c drm/amdgpu: update ta_secureDisplay_if.h to v27.00.00.08 2023-01-05 11:43:46 -05:00
amdgpu_securedisplay.h drm/amdgpu: update ta_secureDisplay_if.h to v27.00.00.08 2023-01-05 11:43:46 -05:00
amdgpu_seq64.c drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole 2024-02-16 15:41:50 -05:00
amdgpu_seq64.h drm/amdgpu: Enable seq64 manager and fix bugs 2024-01-22 17:13:18 -05:00
amdgpu_smuio.h drm/amdgpu: add ras_err_info to identify RAS error source 2023-10-13 11:35:35 -04:00
amdgpu_socbb.h
amdgpu_sync.c drm/amdgpu: Simplify the allocation of sync slab caches 2024-02-22 12:05:16 -05:00
amdgpu_sync.h drm/amdgpu: use scheduler dependencies for VM updates 2022-11-03 12:45:20 +01:00
amdgpu_trace.h drm/amdgpu: add amdgpu runpm usage trace for separate funcs 2023-11-17 09:30:51 -05:00
amdgpu_trace_points.c drm/amdgpu: header cleanup 2022-03-04 13:03:30 -05:00
amdgpu_ttm.c drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag 2024-03-20 13:12:57 -04:00
amdgpu_ttm.h drm/amdgpu: accommodate DOMAIN/PL_DOORBELL 2023-08-07 17:14:06 -04:00
amdgpu_ucode.c drm/amdgpu: add ucode id for jpeg DPG support 2024-02-12 16:09:11 -05:00
amdgpu_ucode.h drm/amdgpu: add ucode id for jpeg DPG support 2024-02-12 16:09:11 -05:00
amdgpu_umc.c drm/amdgpu: Support passing poison consumption ras block to SRIOV 2024-01-25 14:58:03 -05:00
amdgpu_umc.h drm/amdgpu: Support passing poison consumption ras block to SRIOV 2024-01-25 14:58:03 -05:00
amdgpu_umr.h drm/amd/amdgpu: Clean up errors in amdgpu_umr.h 2024-01-15 18:35:38 -05:00
amdgpu_umsch_mm.c drm/amdgpu: enable UMSCH 4.0.6 2024-03-27 09:30:05 -04:00
amdgpu_umsch_mm.h drm/amdgpu/umsch: update UMSCH 4.0 FW interface 2024-03-27 09:29:42 -04:00
amdgpu_uvd.c drm/amdgpu: Address member 'ring' not described in 'amdgpu_ vce, uvd_entity_init()' 2023-11-17 00:47:14 -05:00
amdgpu_uvd.h drm/amdgpu: move UVD and VCE sched entity init after sched init 2023-11-10 11:33:08 -05:00
amdgpu_vce.c drm/amdgpu: Address member 'ring' not described in 'amdgpu_ vce, uvd_entity_init()' 2023-11-17 00:47:14 -05:00
amdgpu_vce.h drm/amdgpu: move UVD and VCE sched entity init after sched init 2023-11-10 11:33:08 -05:00
amdgpu_vcn.c drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 2024-03-20 13:12:57 -04:00
amdgpu_vcn.h drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 2024-03-20 13:12:57 -04:00
amdgpu_vf_error.c
amdgpu_vf_error.h
amdgpu_virt.c drm/amdgpu: Improve error checking in amdgpu_virt_rlcg_reg_rw (v2) 2024-02-22 10:27:23 -05:00
amdgpu_virt.h drm/amdgpu: Improve error checking in amdgpu_virt_rlcg_reg_rw (v2) 2024-02-22 10:27:23 -05:00
amdgpu_vkms.c drm/amd: Clean up errors in amdgpu_vkms.c 2024-01-15 18:35:39 -05:00
amdgpu_vkms.h drm/amdgpu: fix vkms crtc settings 2021-12-01 16:02:57 -05:00
amdgpu_vm.c drm/amdgpu: cleanup conditional execution 2024-03-04 15:59:08 -05:00
amdgpu_vm.h drm/amdgpu: remove unused code 2024-03-06 15:24:24 -05:00
amdgpu_vm_cpu.c drm/amdgpu: have bos for PDs/PTS cpu accessible when kfd uses cpu to update vm 2023-07-07 13:51:48 -04:00
amdgpu_vm_pt.c drm/amdgpu: remove unused code 2024-03-06 15:24:24 -05:00
amdgpu_vm_sdma.c drm/amdgpu: drop the extra sign extension 2023-03-22 00:47:58 -04:00
amdgpu_vpe.c drm/amdgpu/vpe: power on vpe when hw_init 2024-03-27 08:50:20 -04:00
amdgpu_vpe.h drm/amdgpu/vpe: add collaborate mode support for VPE 2024-03-07 15:33:01 -05:00
amdgpu_vram_mgr.c drm/amdgpu: Show vram vendor only if available 2024-01-25 15:44:11 -05:00
amdgpu_vram_mgr.h drm/amdgpu: Fix for drm buddy memory corruption 2022-07-15 15:41:51 +02:00
amdgpu_xcp.c drm/amdgpu: Restore partition mode after reset 2023-09-26 16:54:51 -04:00
amdgpu_xcp.h drm/amdgpu: Restore partition mode after reset 2023-09-26 16:54:51 -04:00
amdgpu_xgmi.c drm/amdgpu: replace MCA macro with ACA for XGMI 2024-01-15 18:35:37 -05:00
amdgpu_xgmi.h drm/amdgpu: revert "Adjust removal control flow for smu v13_0_2" 2024-01-18 16:43:42 -05:00
amdgv_sriovmsg.h drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P1 2023-10-20 15:11:27 -04:00
aqua_vanjaram.c drm/amdgpu: Read aquavanjaram USR register state 2023-12-06 15:22:37 -05:00
arct_reg_init.c
athub_v1_0.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
athub_v1_0.h drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
athub_v2_0.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
athub_v2_0.h drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
athub_v2_1.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
athub_v2_1.h drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
athub_v3_0.c drm/amdgpu: update ATHUB_MISC_CNTL offset for athub v3.3 2024-01-15 18:31:45 -05:00
athub_v3_0.h drm/amdgpu: add athub v3_0 ip block 2022-05-04 09:57:10 -04:00
athub_v4_1_0.c drm/amdgpu: Add athub v4_1_0 ip block support 2024-02-12 16:08:12 -05:00
athub_v4_1_0.h drm/amdgpu: Add athub v4_1_0 ip block support 2024-02-12 16:08:12 -05:00
atom.c drm/amdgpu: Fix missing break in ATOM_ARG_IMM Case of atom_get_src_int() 2024-02-27 11:06:29 -05:00
atom.h drm/amdgpu: check PS, WS index 2024-01-15 18:35:37 -05:00
atombios_crtc.c drm/amdgpu: check PS, WS index 2024-01-15 18:35:37 -05:00
atombios_crtc.h
atombios_dp.c drm/amdgpu: check PS, WS index 2024-01-15 18:35:37 -05:00
atombios_dp.h
atombios_encoders.c drm/amdgpu: check PS, WS index 2024-01-15 18:35:37 -05:00
atombios_encoders.h
atombios_i2c.c drm/amdgpu: check PS, WS index 2024-01-15 18:35:37 -05:00
atombios_i2c.h
cik.c drm/amdgpu: Use RMW accessors for changing LNKCTL2 2024-02-22 12:05:20 -05:00
cik.h
cik_ih.c drm/amdgpu: Reset IH OVERFLOW_CLEAR bit 2024-01-31 17:39:47 -05:00
cik_ih.h
cik_sdma.c Merge tag 'drm-misc-next-2023-10-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2023-10-31 10:47:50 +10:00
cik_sdma.h
cikd.h
clearstate_ci.h
clearstate_defs.h
clearstate_gfx9.h drm/amdgpu: Clean up errors in clearstate_gfx9.h 2024-01-15 18:35:38 -05:00
clearstate_gfx10.h
clearstate_gfx11.h drm/amdgpu: update GFX11 cs settings 2022-06-28 11:23:32 -04:00
clearstate_si.h drm/amdgpu: Clean up errors in clearstate_si.h 2024-01-18 15:37:52 -05:00
clearstate_vi.h
cz_ih.c drm/amdgpu: Reset IH OVERFLOW_CLEAR bit 2024-01-31 17:39:47 -05:00
cz_ih.h
dce_v6_0.c drm/amdgpu: Clear the hotplug interrupt ack bit before hpd initialization 2024-02-07 10:01:10 -05:00
dce_v6_0.h
dce_v8_0.c drm/amdgpu: Clear the hotplug interrupt ack bit before hpd initialization 2024-02-07 10:01:10 -05:00
dce_v8_0.h
dce_v10_0.c drm/amdgpu: Clear the hotplug interrupt ack bit before hpd initialization 2024-02-07 10:01:10 -05:00
dce_v10_0.h
dce_v11_0.c drm/amdgpu: Clear the hotplug interrupt ack bit before hpd initialization 2024-02-07 10:01:10 -05:00
dce_v11_0.h
df_v1_7.c drm/amdgpu: Fix a typo ("boradcast") 2023-02-03 15:37:31 -05:00
df_v1_7.h
df_v3_6.c drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
df_v3_6.h
df_v4_3.c drm/amdgpu: Add poison mode query for df v4_3 2022-12-15 12:19:30 -05:00
df_v4_3.h drm/amdgpu: Add poison mode query for df v4_3 2022-12-15 12:19:30 -05:00
df_v4_6_2.c drm/amdgpu: get RAS poison status from DF v4_6_2 2023-10-26 19:02:52 -04:00
df_v4_6_2.h drm/amdgpu: get RAS poison status from DF v4_6_2 2023-10-26 19:02:52 -04:00
dimgrey_cavefish_reg_init.c
emu_soc.c
gfx_v6_0.c drm/amdgpu: Store CU info from all XCCs for GFX v9.4.3 2023-09-11 18:16:31 -04:00
gfx_v6_0.h
gfx_v7_0.c drm/amd/amdgpu: Update RLC_SPM_MC_CNT by ring wreg in guest 2024-01-18 15:45:58 -05:00
gfx_v7_0.h
gfx_v8_0.c drm/amdgpu: cleanup conditional execution 2024-03-04 15:59:08 -05:00
gfx_v8_0.h
gfx_v9_0.c drm/amdgpu: disable ring_muxer if mcbp is off 2024-03-06 15:24:49 -05:00
gfx_v9_0.h drm/amdgpu: add xcc index argument to select_sh_se function v2 2023-04-18 16:28:55 -04:00
gfx_v9_4.c drm/amdgpu: Clean up errors in gfx_v9_4.c 2024-01-15 18:35:40 -05:00
gfx_v9_4.h drm/amdgpu: Modify gfx block to fit for the unified ras block data and ops 2022-01-14 17:51:59 -05:00
gfx_v9_4_2.c drm/amdgpu: Drop unnecessary return statements 2023-10-05 17:59:35 -04:00
gfx_v9_4_2.h drm/amdgpu: Modify gfx block to fit for the unified ras block data and ops 2022-01-14 17:51:59 -05:00
gfx_v9_4_3.c drm/amdgpu: Do not program SQ_TIMEOUT_CONFIG in SRIOV 2024-02-26 11:14:46 -05:00
gfx_v9_4_3.h drm/amdgpu: Add XCP IP callback funcs for each IP 2023-06-09 09:49:56 -04:00
gfx_v10_0.c drm/amdgpu: Skip access PF-only registers on gfx10/gfxhub2_1 under SRIOV 2024-03-20 13:12:57 -04:00
gfx_v10_0.h
gfx_v11_0.c drm/amdgpu: workaround to avoid SET_Q_MODE packets v2 2024-03-04 15:59:08 -05:00
gfx_v11_0.h drm/amdgpu: add init support for GFX11 (v2) 2022-05-04 10:43:54 -04:00
gfx_v11_0_3.c drm/amdgpu: Support passing poison consumption ras block to SRIOV 2024-01-25 14:58:03 -05:00
gfx_v11_0_3.h drm/amdgpu: Add gfx ras function on gfx v11_0_3 2023-01-17 16:11:50 -05:00
gfxhub_v1_0.c drm/amdgpu: apply the RV2 system aperture fix to RN/CZN as well 2024-01-05 16:10:44 -05:00
gfxhub_v1_0.h
gfxhub_v1_1.c drm/amdgpu: use correct register mask to extract field 2021-11-03 12:22:07 -04:00
gfxhub_v1_1.h
gfxhub_v1_2.c drm/amdgpu: Do not program VM_L2_CNTL under SRIOV 2024-01-15 18:31:56 -05:00
gfxhub_v1_2.h drm/amdgpu: Add XCP IP callback funcs for each IP 2023-06-09 09:49:56 -04:00
gfxhub_v2_0.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
gfxhub_v2_0.h
gfxhub_v2_1.c drm/amdgpu: Skip access PF-only registers on gfx10/gfxhub2_1 under SRIOV 2024-03-20 13:12:57 -04:00
gfxhub_v2_1.h
gfxhub_v3_0.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
gfxhub_v3_0.h drm/amdgpu: add gfxhub v3_0 ip block 2022-05-04 09:57:13 -04:00
gfxhub_v3_0_3.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
gfxhub_v3_0_3.h drm/amdgpu: add gfxhub_v3_0_3 support 2022-08-30 16:36:54 -04:00
gfxhub_v11_5_0.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
gfxhub_v11_5_0.h drm/amdgpu: add gfxhub 11.5.0 support 2023-08-30 15:01:15 -04:00
gmc_v6_0.c drm/amdgpu: Fix missing error code in 'gmc_v6/7/8/9_0_hw_init()' 2024-01-31 17:36:44 -05:00
gmc_v6_0.h
gmc_v7_0.c drm/amdgpu: Fix missing error code in 'gmc_v6/7/8/9_0_hw_init()' 2024-01-31 17:36:44 -05:00
gmc_v7_0.h
gmc_v8_0.c drm/amdgpu: change vm->task_info handling 2024-03-04 15:59:08 -05:00
gmc_v8_0.h
gmc_v9_0.c drm/amdgpu: change vm->task_info handling 2024-03-04 15:59:08 -05:00
gmc_v9_0.h
gmc_v10_0.c drm/amdgpu: change vm->task_info handling 2024-03-04 15:59:08 -05:00
gmc_v10_0.h
gmc_v11_0.c drm/amdgpu: change vm->task_info handling 2024-03-04 15:59:08 -05:00
gmc_v11_0.h drm/amdgpu: add gmc v11_0 ip block (v3) 2022-05-04 09:57:26 -04:00
hdp_v4_0.c drm/amdgpu: Update HDP 4.4.2 clock gating flags 2023-12-06 16:05:32 -05:00
hdp_v4_0.h drm/amdgpu: Modify hdp block to fit for the unified ras block data and ops 2022-01-14 17:51:59 -05:00
hdp_v5_0.c drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
hdp_v5_0.h
hdp_v5_2.c drm/amdgpu: add HDP IP v5.2.1 Clock Gating support 2022-08-16 18:05:54 -04:00
hdp_v5_2.h drm/amdgpu: add the files of HDP v5.2 block 2022-05-06 10:36:13 -04:00
hdp_v6_0.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
hdp_v6_0.h drm/amdgpu: add hdp version 6 functions 2022-05-04 09:53:58 -04:00
hdp_v7_0.c drm/amdgpu: Add hdp v7_0 ip block support 2024-02-12 16:09:57 -05:00
hdp_v7_0.h drm/amdgpu: Add hdp v7_0 ip block support 2024-02-12 16:09:57 -05:00
iceland_ih.c drm/amdgpu: Reset IH OVERFLOW_CLEAR bit 2024-01-31 17:39:47 -05:00
iceland_ih.h
iceland_sdma_pkt_open.h
ih_v6_0.c drm/amdgpu: Reset IH OVERFLOW_CLEAR bit 2024-01-31 17:39:47 -05:00
ih_v6_0.h drm/amdgpu: add ih v6_0 ip block v2 2022-05-04 09:53:12 -04:00
ih_v6_1.c drm/amdgpu: Reset IH OVERFLOW_CLEAR bit 2024-01-31 17:39:47 -05:00
ih_v6_1.h drm/amdgpu: add ih 6.1 support 2023-08-07 16:35:38 -04:00
ih_v7_0.c drm/amdgpu: Reset IH OVERFLOW_EN bit for IH 7.0 2024-03-20 13:12:57 -04:00
ih_v7_0.h drm/amdgpu: Add ih v7_0 ip block support 2024-02-12 16:09:42 -05:00
imu_v11_0.c drm/amdgpu: add imu firmware support for GC 11.5.1 2024-02-22 10:26:58 -05:00
imu_v11_0.h drm/amdgpu: support imu for gfx11 2022-05-04 10:43:54 -04:00
imu_v11_0_3.c drm/amdgpu: fix warning about missing imu prototype 2022-09-13 14:33:01 -04:00
imu_v11_0_3.h drm/amdgpu: enable imu_rlc_ram programming for v11_0_3 2022-08-30 16:37:14 -04:00
jpeg_v1_0.c drm/jpeg: add init value for num_jpeg_rings 2023-06-09 11:07:00 -04:00
jpeg_v1_0.h
jpeg_v2_0.c drm/jpeg: Clean up errors in jpeg_v2_0.c 2023-08-09 09:43:28 -04:00
jpeg_v2_0.h drm/amdgpu/jpeg2: Add jpeg vmid update under IB submit 2022-06-08 11:43:55 -04:00
jpeg_v2_5.c drm/amdgpu: Clean up errors in jpeg_v2_5.c 2024-01-15 18:35:40 -05:00
jpeg_v2_5.h drm/amdgpu/jpeg: Add jpeg ras error query support 2022-03-28 12:54:39 -04:00
jpeg_v3_0.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
jpeg_v3_0.h
jpeg_v4_0.c drm/amdgpu: remove asymmetrical irq disabling in jpeg 4.0.5 suspend 2024-02-07 18:19:22 -05:00
jpeg_v4_0.h drm/amdgpu: add RAS error query for JPEG 4.0 2022-11-17 18:08:27 -05:00
jpeg_v4_0_3.c drm/amdgpu: Add JPEG5 support 2024-02-12 16:12:00 -05:00
jpeg_v4_0_3.h drm/amdgpu: Add JPEG5 support 2024-02-12 16:12:00 -05:00
jpeg_v4_0_5.c drm/amdgpu/jpeg: add support for jpeg multi instance 2024-02-22 10:28:04 -05:00
jpeg_v4_0_5.h drm/amdgpu/jpeg: add jpeg support for VCN4_0_5 2023-08-31 16:34:36 -04:00
jpeg_v5_0_0.c drm/amdgpu/jpeg5: Enable doorbell 2024-02-12 16:13:39 -05:00
jpeg_v5_0_0.h drm/amdgpu: Add JPEG5 support 2024-02-12 16:12:00 -05:00
lsdma_v6_0.c drm/amdgpu: support memory power gating for lsdma 2022-05-10 17:53:12 -04:00
lsdma_v6_0.h drm/amdgpu: add lsdma block 2022-05-10 17:53:11 -04:00
lsdma_v7_0.c drm/amdgpu: Add lsdma v7_0 ip block support 2024-02-12 16:08:41 -05:00
lsdma_v7_0.h drm/amdgpu: Add lsdma v7_0 ip block support 2024-02-12 16:08:41 -05:00
mca_v3_0.c drm/amdgpu: Rework mca ras sw_init 2023-03-15 18:45:26 -04:00
mca_v3_0.h drm/amdgpu: Rework mca ras sw_init 2023-03-15 18:45:26 -04:00
mes_v10_1.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
mes_v10_1.h
mes_v11_0.c drm/amdgpu: reserve more memory for MES runtime DRAM 2024-02-26 11:15:32 -05:00
mes_v11_0.h drm/amdgpu/mes11: initiate mes v11 support 2022-05-04 10:43:54 -04:00
mmhub_v1_0.c drm/amdgpu: apply the RV2 system aperture fix to RN/CZN as well 2024-01-05 16:10:44 -05:00
mmhub_v1_0.h drm/amdgpu: Modify mmhub block to fit for the unified ras block data and ops 2022-01-14 17:51:59 -05:00
mmhub_v1_7.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
mmhub_v1_7.h drm/amdgpu: Modify mmhub block to fit for the unified ras block data and ops 2022-01-14 17:51:59 -05:00
mmhub_v1_8.c drm/amdgpu: add mmhub v1.8 ACA support 2024-01-15 18:35:36 -05:00
mmhub_v1_8.h drm/amdgpu: Initialize mmhub v1_8 ras function 2023-06-09 09:53:42 -04:00
mmhub_v2_0.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
mmhub_v2_0.h
mmhub_v2_3.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
mmhub_v2_3.h
mmhub_v3_0.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
mmhub_v3_0.h drm/amdgpu: add mmhub v3_0 ip block 2022-05-04 09:57:18 -04:00
mmhub_v3_0_1.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
mmhub_v3_0_1.h drm/amdgpu: add mmhub v3_0_1 ip block 2022-06-03 16:44:15 -04:00
mmhub_v3_0_2.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
mmhub_v3_0_2.h drm/amdgpu: add mmhub v3_0_2 ip callback functions 2022-05-05 16:51:48 -04:00
mmhub_v3_3.c drm/amdgpu: fix mmhub client id out-of-bounds access 2024-03-20 13:12:57 -04:00
mmhub_v3_3.h drm/amdgpu: add mmhub 3.3.0 support 2023-08-30 15:01:09 -04:00
mmhub_v9_4.c drm/amdgpu: add hub->ctx_distance in setup_vmid_config 2023-10-09 16:59:06 -04:00
mmhub_v9_4.h drm/amdgpu: Modify mmhub block to fit for the unified ras block data and ops 2022-01-14 17:51:59 -05:00
mmsch_v1_0.h
mmsch_v2_0.h
mmsch_v3_0.h drm/amdgpu/mmsch: Correct the definition for mmsch init header 2023-06-09 12:44:12 -04:00
mmsch_v4_0.h drm/amdgpu/jpeg: skip set pg for sriov 2023-09-20 16:24:09 -04:00
mmsch_v4_0_3.h drm/amdgpu/vcn: Add MMSCH v4_0_3 support for sriov 2023-08-15 18:08:27 -04:00
mxgpu_ai.c drm/amdgpu: Support passing poison consumption ras block to SRIOV 2024-01-25 14:58:03 -05:00
mxgpu_ai.h drm/amdgpu: Fix complex macros error 2023-10-05 17:59:35 -04:00
mxgpu_nv.c drm/amdgpu: Add RAS_POISON_READY host response message 2024-01-25 14:58:03 -05:00
mxgpu_nv.h drm/amdgpu: Add RAS_POISON_READY host response message 2024-01-25 14:58:03 -05:00
mxgpu_vi.c drm/amdgpu: Clean up errors in mxgpu_vi.c 2023-08-09 09:43:51 -04:00
mxgpu_vi.h
navi10_ih.c drm/amdgpu: Reset IH OVERFLOW_CLEAR bit 2024-01-31 17:39:47 -05:00
navi10_ih.h
navi10_sdma_pkt_open.h
nbif_v6_3_1.c drm/amdgpu: Add nbif v6_3_1 ip block support 2024-03-07 15:32:42 -05:00
nbif_v6_3_1.h drm/amdgpu: Add nbif v6_3_1 ip block support 2024-03-07 15:32:42 -05:00
nbio_v2_3.c drm/amdgpu: don't use pci_is_thunderbolt_attached() 2023-11-03 11:59:44 -04:00
nbio_v2_3.h drm/amdgpu: use the same HDP flush registers for all nbio 2.3.x 2022-07-18 16:42:18 -04:00
nbio_v4_3.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
nbio_v4_3.h drm/amdgpu: Add fatal error handling in nbio v4_3 2023-03-31 11:18:32 -04:00
nbio_v6_1.c drm/amdgpu: Don't enable LTR if not supported 2022-09-13 14:25:39 -04:00
nbio_v6_1.h
nbio_v7_0.c drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
nbio_v7_0.h
nbio_v7_2.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
nbio_v7_2.h
nbio_v7_4.c drm/amdgpu: Drop unnecessary sentences about CE and deferred error. 2024-01-09 15:43:54 -05:00
nbio_v7_4.h drm/amdgpu: use the same HDP flush registers for all nbio 7.4.x 2022-07-18 16:41:55 -04:00
nbio_v7_7.c drm/amdgpu: modify if condition in nbio_v7_7.c 2023-10-26 18:41:21 -04:00
nbio_v7_7.h drm/amdgpu: add the files of NBIO v7.7 block 2022-05-06 10:36:13 -04:00
nbio_v7_9.c Revert "drm/amdgpu: Add pci usage to nbio v7.9" 2024-02-22 10:15:26 -05:00
nbio_v7_9.h drm/amdgpu: add RAS fatal error handler for NBIO v7.9 2023-08-09 09:46:04 -04:00
nbio_v7_11.c drm/amdgpu/nbio: Add NBIO 7.11.1 Support 2024-02-16 15:42:03 -05:00
nbio_v7_11.h drm/amdgpu: add nbio 7.11 support 2023-08-30 15:00:27 -04:00
nv.c drm/amd: Explicitly disable ASPM when dynamic switching disabled 2023-10-26 18:41:23 -04:00
nv.h drm/amdgpu: drop navi reg init functions 2021-10-20 11:43:57 -04:00
nvd.h drm/amdgpu: add gfx11 emit shadow callback 2023-04-24 18:16:23 -04:00
psp_gfx_if.h drm/amdgpu: add ucode id for jpeg DPG support 2024-02-12 16:09:11 -05:00
psp_v3_1.c drm/amd: Load PSP microcode during early_init 2023-01-10 14:32:56 -05:00
psp_v3_1.h
psp_v10_0.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
psp_v10_0.h
psp_v11_0.c drm/amdgpu/psp: update define to better align with its meaning 2024-02-12 16:14:12 -05:00
psp_v11_0.h
psp_v11_0_8.c drm/amdgpu: make psp_ring_init common 2022-11-17 18:09:16 -05:00
psp_v11_0_8.h
psp_v12_0.c drm/amd: Load PSP microcode during early_init 2023-01-10 14:32:56 -05:00
psp_v12_0.h
psp_v13_0.c drm/amdgpu: add PSP 14.0.1 support 2024-02-16 15:42:15 -05:00
psp_v13_0.h drm/amdgpu: add wait_for helper for spirom update 2023-06-15 11:06:58 -04:00
psp_v13_0_4.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
psp_v13_0_4.h drm/amdgpu: add files for PSP 13.0.4 2022-07-29 15:24:38 -04:00
psp_v14_0.c drm/amdgpu: support psp ip block for psp v14 2024-02-14 17:16:12 -05:00
psp_v14_0.h drm/amdgpu: use spirom update wait_for helper for psp v14 2024-02-14 17:16:07 -05:00
sdma_common.h
sdma_v2_4.c drm/amd: Clean up errors in sdma_v2_4.c 2024-01-15 18:35:38 -05:00
sdma_v2_4.h
sdma_v3_0.c Merge tag 'drm-misc-next-2023-10-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2023-10-31 10:47:50 +10:00
sdma_v3_0.h
sdma_v4_0.c drm/amdgpu: change vm->task_info handling 2024-03-04 15:59:08 -05:00
sdma_v4_0.h
sdma_v4_4.c drm/amdgpu: Add SDMA_UTCL1_WR_FIFO_SED field for sdma_v4_4_ras_field 2023-06-09 09:25:37 -04:00
sdma_v4_4.h drm/amdgpu: Modify sdma block to fit for the unified ras block data and ops 2022-01-14 17:52:00 -05:00
sdma_v4_4_2.c drm fixes for 6.9-rc1 2024-03-21 19:04:31 -07:00
sdma_v4_4_2.h drm/amdgpu: Add XCP IP callback funcs for each IP 2023-06-09 09:49:56 -04:00
sdma_v5_0.c drm/amdgpu: cleanup conditional execution 2024-03-04 15:59:08 -05:00
sdma_v5_0.h
sdma_v5_2.c drm/amdgpu: cleanup conditional execution 2024-03-04 15:59:08 -05:00
sdma_v5_2.h
sdma_v6_0.c drm/amdgpu: cleanup conditional execution 2024-03-04 15:59:08 -05:00
sdma_v6_0.h drm/amdgpu: add initial support for sdma v6.0 2022-05-04 10:43:55 -04:00
sdma_v6_0_0_pkt_open.h drm/amdgpu: add sdma v6_0_0 pkt header v3 2022-05-04 10:43:55 -04:00
si.c drm/amdgpu: Use RMW accessors for changing LNKCTL2 2024-02-22 12:05:20 -05:00
si.h
si_dma.c drm/amdgpu: move buffer funcs setting up a level 2023-10-26 16:04:24 -04:00
si_dma.h
si_enums.h
si_ih.c drm/amdgpu: Reset IH OVERFLOW_CLEAR bit 2024-01-31 17:39:47 -05:00
si_ih.h
sid.h
sienna_cichlid.c drm/amdgpu: Use function for IP version check 2023-09-20 12:23:28 -04:00
sienna_cichlid.h drm/amdgpu: add mode2 reset for sienna_cichlid 2022-08-16 18:14:31 -04:00
smu_v11_0_i2c.c drm/amdgpu: Set FRU bus for Aldebaran and Vega 20 2022-02-07 17:59:53 -05:00
smu_v11_0_i2c.h drm/amd: Expose the FRU SMU I2C bus 2022-01-27 15:49:48 -05:00
smu_v13_0_10.c drm/amdgpu: Keep reset handlers shared 2023-08-30 14:57:54 -04:00
smu_v13_0_10.h drm/amd/amdgpu: implement mode2 reset on smu_v13_0_10 2023-02-14 15:47:15 -05:00
smuio_v9_0.c drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
smuio_v9_0.h
smuio_v11_0.c drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
smuio_v11_0.h
smuio_v11_0_6.c drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
smuio_v11_0_6.h
smuio_v13_0.c drm/amdgpu: Get package types for smuio v13.0 2023-10-05 17:59:35 -04:00
smuio_v13_0.h
smuio_v13_0_3.c drm/amdgpu: Add more smuio v13.0.3 package types 2023-10-05 17:59:35 -04:00
smuio_v13_0_3.h drm/amdgpu: init smuio funcs for smuio v13_0_3 2023-06-09 09:48:36 -04:00
smuio_v13_0_6.c drm/amdgpu: add smuio v13_0_6 support 2022-05-04 09:54:38 -04:00
smuio_v13_0_6.h drm/amdgpu: add smuio v13_0_6 support 2022-05-04 09:54:38 -04:00
soc15.c drm/amdgpu: Enable gpu reset for S3 abort cases on Raven series 2024-02-26 11:15:25 -05:00
soc15.h drm/amdgpu: Read aquavanjaram PCIE register state 2023-11-29 16:49:35 -05:00
soc15_common.h drm/amdgpu: Change WREG32_RLC to WREG32_SOC15_RLC where inst != 0 (v2) 2023-11-09 17:03:16 -05:00
soc15d.h drm/amdgpu: Modify unmap_queue format for gfx9 (v6) 2022-12-02 10:04:45 -05:00
soc21.c drm/amdgpu/soc21: add mode2 asic reset for SMU IP v14.0.1 2024-03-07 15:33:25 -05:00
soc21.h drm/amdgpu: add soc21 common ip block v2 2022-04-28 17:48:40 -04:00
ta_rap_if.h
ta_ras_if.h drm/amdgpu: add PSP RAS address query command 2024-01-31 14:05:19 -05:00
ta_secureDisplay_if.h drm/amdgpu: update ta_secureDisplay_if.h to v27.00.00.08 2023-01-05 11:43:46 -05:00
ta_xgmi_if.h drm/amdgpu: update the xgmi ta interface header 2023-10-20 15:11:28 -04:00
tonga_ih.c drm/amdgpu: Reset IH OVERFLOW_CLEAR bit 2024-01-31 17:39:47 -05:00
tonga_ih.h
tonga_sdma_pkt_open.h
umc_v6_0.c drm/amdgpu: Clean up errors in umc_v6_0.c 2024-01-18 15:38:00 -05:00
umc_v6_0.h
umc_v6_1.c drm/amdgpu: remove check for CE in RAS error address query 2022-10-11 11:04:55 -04:00
umc_v6_1.h drm/amdgpu: Modify umc block to fit for the unified ras block data and ops 2022-01-14 17:51:59 -05:00
umc_v6_7.c drm/amdgpu: Drop unnecessary sentences about CE and deferred error. 2024-01-09 15:43:54 -05:00
umc_v6_7.h drm/amdgpu: move convert_error_address out of umc_ras 2022-10-17 17:41:21 -04:00
umc_v8_7.c drm/amdgpu: define convert_error_address for umc v8.7 2022-10-11 11:05:23 -04:00
umc_v8_7.h drm/amdgpu: Modify umc block to fit for the unified ras block data and ops 2022-01-14 17:51:59 -05:00
umc_v8_10.c drm/amdgpu: Retrieve CE count from ce_count_lo_chip in EccInfo table 2023-10-27 14:15:10 -04:00
umc_v8_10.h drm/amdgpu: Update total channel number for umc v8_10 2023-06-15 11:06:59 -04:00
umc_v12_0.c drm/amdgpu: add deferred error check for UMC v12 address query 2024-02-29 20:35:14 -05:00
umc_v12_0.h drm/amdgpu: Log deferred error separately 2024-01-15 18:35:37 -05:00
umsch_mm_v4_0.c drm/amdgpu: enable UMSCH 4.0.6 2024-03-27 09:30:05 -04:00
umsch_mm_v4_0.h drm/amdgpu: add initial support for UMSCH 2023-08-31 16:40:53 -04:00
uvd_v3_1.c drm/amdgpu: move UVD and VCE sched entity init after sched init 2023-11-10 11:33:08 -05:00
uvd_v3_1.h
uvd_v4_2.c drm/amdgpu: move UVD and VCE sched entity init after sched init 2023-11-10 11:33:08 -05:00
uvd_v4_2.h
uvd_v5_0.c drm/amdgpu: move UVD and VCE sched entity init after sched init 2023-11-10 11:33:08 -05:00
uvd_v5_0.h
uvd_v6_0.c drm/amdgpu: move UVD and VCE sched entity init after sched init 2023-11-10 11:33:08 -05:00
uvd_v6_0.h
uvd_v7_0.c drm/amdgpu: move UVD and VCE sched entity init after sched init 2023-11-10 11:33:08 -05:00
uvd_v7_0.h
vce_v2_0.c drm/amdgpu: move UVD and VCE sched entity init after sched init 2023-11-10 11:33:08 -05:00
vce_v2_0.h
vce_v3_0.c drm/amdgpu: move UVD and VCE sched entity init after sched init 2023-11-10 11:33:08 -05:00
vce_v3_0.h
vce_v4_0.c drm/amdgpu: move UVD and VCE sched entity init after sched init 2023-11-10 11:33:08 -05:00
vce_v4_0.h
vcn_sw_ring.c drm/amdgpu: move vmhub out of amdgpu_ring_funcs (v4) 2023-04-14 13:47:49 -04:00
vcn_sw_ring.h drm/amdgpu/vcn: add common vcn sofware ring decode 2022-05-06 16:57:36 -04:00
vcn_v1_0.c drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 2024-03-20 13:12:57 -04:00
vcn_v1_0.h
vcn_v2_0.c drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 2024-03-20 13:12:57 -04:00
vcn_v2_0.h
vcn_v2_5.c drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 2024-03-20 13:12:57 -04:00
vcn_v2_5.h drm/amdgpu/vcn: Add VCN ras error query support 2022-03-28 12:54:39 -04:00
vcn_v3_0.c drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 2024-03-20 13:12:57 -04:00
vcn_v3_0.h drm/amdgpu/vcn3: replace ip based software ring decode with common vcn software ring decode 2022-05-06 16:57:44 -04:00
vcn_v4_0.c drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 2024-03-20 13:12:57 -04:00
vcn_v4_0.h drm/amdgpu: add RAS query support for VCN 4.0 2022-11-17 18:08:20 -05:00
vcn_v4_0_3.c drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 2024-03-20 13:12:57 -04:00
vcn_v4_0_3.h drm/amdgpu/vcn: add vcn support for VCN4_0_3 2023-06-09 09:41:27 -04:00
vcn_v4_0_5.c drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 2024-03-20 13:12:57 -04:00
vcn_v4_0_5.h drm/amdgpu: add VCN4 ip block support 2023-08-31 16:34:32 -04:00
vcn_v5_0_0.c drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 2024-03-20 13:12:57 -04:00
vcn_v5_0_0.h drm/amdgpu: add VCN_5_0_0 IP block support 2024-02-12 16:10:18 -05:00
vega10_ih.c drm/amdgpu: Reset IH OVERFLOW_CLEAR bit 2024-01-31 17:39:47 -05:00
vega10_ih.h
vega10_reg_init.c
vega10_sdma_pkt_open.h
vega20_ih.c drm/amdgpu: Do not program IH_CHICKEN in vega20_ih.c under SRIOV 2024-02-22 10:27:31 -05:00
vega20_ih.h
vega20_reg_init.c
vi.c drm/amd: Explicitly disable ASPM when dynamic switching disabled 2023-10-26 18:41:23 -04:00
vi.h
vid.h
vpe_6_1_fw_if.h drm/amdgpu/vpe: add PRED_EXE and COLLAB_SYNC OPCODE 2024-03-07 15:32:58 -05:00
vpe_v6_1.c drm/amdgpu/vpe: add VPE 6.1.1 support 2024-03-07 15:33:10 -05:00
vpe_v6_1.h drm/amdgpu: add VPE 6.1.0 support 2023-08-31 16:34:05 -04:00