linux/drivers/gpu/drm/amd/amdgpu
Michel Dänzer da3067eadc drm/amdgpu: Cancel delayed work when GFXOFF is disabled
commit 32bc8f8373 upstream.

schedule_delayed_work does not push back the work if it was already
scheduled before, so amdgpu_device_delay_enable_gfx_off ran ~100 ms
after the first time GFXOFF was disabled and re-enabled, even if GFXOFF
was disabled and re-enabled again during those 100 ms.

This resulted in frame drops / stutter with the upcoming mutter 41
release on Navi 14, due to constantly enabling GFXOFF in the HW and
disabling it again (for getting the GPU clock counter).

To fix this, call cancel_delayed_work_sync when the disable count
transitions from 0 to 1, and only schedule the delayed work on the
reverse transition, not if the disable count was already 0. This makes
sure the delayed work doesn't run at unexpected times, and allows it to
be lock-free.

v2:
* Use cancel_delayed_work_sync & mutex_trylock instead of
  mod_delayed_work.
v3:
* Make amdgpu_device_delay_enable_gfx_off lock-free (Christian König)
v4:
* Fix race condition between amdgpu_gfx_off_ctrl incrementing
  adev->gfx.gfx_off_req_count and amdgpu_device_delay_enable_gfx_off
  checking for it to be 0 (Evan Quan)

Cc: stable@vger.kernel.org
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> # v3
Acked-by: Christian König <christian.koenig@amd.com> # v3
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-03 10:09:22 +02:00
..
amdgpu_acp.c drm/amd/powerplay: drop unnecessary pp_funcs checker 2020-08-14 16:22:41 -04:00
amdgpu_acp.h
amdgpu_acpi.c drm/amdgpu: Fix invalid number of character '{' in amdgpu_acpi_init 2020-10-09 15:16:10 -04:00
amdgpu_afmt.c drm/amd: drop use of drmP.h in amdgpu/amdgpu* 2019-06-10 23:02:48 +02:00
amdgpu_amdkfd_arcturus.c drm/amdkfd: call amdgpu_amdkfd_get_hive_id directly 2020-08-26 16:40:18 -04:00
amdgpu_amdkfd_fence.c drm/amdgpu: Simplify kgd2kfd interface 2019-01-14 15:04:29 -05:00
amdgpu_amdkfd_gfx_v7.c drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
amdgpu_amdkfd_gfx_v8.c drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
amdgpu_amdkfd_gfx_v9.c drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
amdgpu_amdkfd_gfx_v9.h drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
amdgpu_amdkfd_gfx_v10_3.c drm/amdkfd: correct sienna_cichlid SDMA RLC register offset error 2021-06-03 09:00:31 +02:00
amdgpu_amdkfd_gfx_v10.c drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
amdgpu_amdkfd_gpuvm.c drm/amdkfd: use allowed domain for vmbo validation 2021-07-19 09:44:49 +02:00
amdgpu_amdkfd.c drm/amdgpu: kfd_initialized can be static 2020-10-09 15:15:04 -04:00
amdgpu_amdkfd.h drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
amdgpu_atombios.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
amdgpu_atombios.h drm/amd/powerplay: widely share the API for data table retrieving 2020-07-21 15:37:37 -04:00
amdgpu_atomfirmware.c drm/amdgpu: enable GDDR6 save-restore support for navy_flounder 2020-10-01 10:43:02 -04:00
amdgpu_atomfirmware.h drm/amdgpu: remove unnecessary check for mem train 2020-07-01 01:59:14 -04:00
amdgpu_atpx_handler.c drm/amd/amdgpu: fix comparison pointer to bool warning in amdgpu_atpx_handler.c 2020-09-15 17:52:43 -04:00
amdgpu_benchmark.c drm/amdgpu: expand amdgpu_copy_buffer interface with tmz parameter 2020-04-28 16:20:29 -04:00
amdgpu_bios.c drm/amdgpu: print where we get the vbios image from 2020-08-14 17:03:20 -04:00
amdgpu_bo_list.c drm/amdgpu: drm_device to amdgpu_device by inline-f (v2) 2020-08-24 13:06:06 -04:00
amdgpu_bo_list.h drm/amdgpu: replace get_user_pages with HMM mirror helpers 2019-05-24 12:21:02 -05:00
amdgpu_cgs.c drm/amdgpu: retire indirect mmio reg support from cgs 2020-04-09 10:43:18 -04:00
amdgpu_connectors.c drm/amdgpu: only set DP subconnector type on DP and eDP connectors 2020-12-30 11:54:19 +01:00
amdgpu_connectors.h
amdgpu_cs.c Merge tag 'amd-drm-next-5.10-2020-09-03' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-09-08 16:40:13 +10:00
amdgpu_csa.c drm/ttm: always keep BOs on the LRU 2019-10-25 11:40:50 +02:00
amdgpu_csa.h
amdgpu_ctx.c drm/amdgpu: Don't query CE and UE errors 2021-06-10 13:39:27 +02:00
amdgpu_ctx.h drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -04:00
amdgpu_debugfs.c drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie 2021-03-09 11:11:13 +01:00
amdgpu_debugfs.h drm/amdgpu: Add autodump debugfs node for gpu reset v8 2020-05-18 11:23:37 -04:00
amdgpu_device.c drm/amdgpu: Cancel delayed work when GFXOFF is disabled 2021-09-03 10:09:22 +02:00
amdgpu_df.h drm/amdgpu: stop resetting xgmi perfmons on disable 2020-09-15 17:52:42 -04:00
amdgpu_discovery.c drm/amdgpu: move IP discovery data to mman 2020-08-04 17:29:29 -04:00
amdgpu_discovery.h drm/amdgpu: reduce ip discovery data reading size 2020-07-02 12:02:51 -04:00
amdgpu_display.c drm/amdgpu: restore proper ref count in amdgpu_display_crtc_set_config 2020-09-29 17:09:22 -04:00
amdgpu_display.h drm/amdgpu: Fix amdgpu_display_supported_domains logic. 2019-07-30 23:48:32 -05:00
amdgpu_dma_buf.c drm/amdgpu: wait for moving fence after pinning 2021-06-30 08:47:16 -04:00
amdgpu_dma_buf.h drm/amdgpu: Enable P2P dmabuf over XGMI 2020-08-11 11:47:35 -04:00
amdgpu_doorbell.h drm/amdgpu: assign the doorbell index to mes ring 2020-07-01 01:59:07 -04:00
amdgpu_drv.c drm/amdgpu: don't enable baco on boco platforms in runpm 2021-08-18 08:59:07 +02:00
amdgpu_drv.h
amdgpu_encoders.c drm/amdgpu: drm_device to amdgpu_device by inline-f (v2) 2020-08-24 13:06:06 -04:00
amdgpu_fb.c drm/amd/amdgpu: fix refcount leak 2021-06-03 09:00:44 +02:00
amdgpu_fence.c drm/amdgpu: Fix some unload driver issues 2021-05-11 14:47:23 +02:00
amdgpu_fru_eeprom.c drm/amdgpu: refine amdgpu_fru_get_product_info 2021-06-18 10:00:06 +02:00
amdgpu_fru_eeprom.h drm/amdgpu: fix incorrect comment 2020-09-29 16:11:50 -04:00
amdgpu_gart.c drm/amdgpu: add function parameter description in 'amdgpu_gart_bind' 2019-11-13 15:29:44 -05:00
amdgpu_gart.h
amdgpu_gds.h Revert "drm/amdgpu: fix transform feedback GDS hang on gfx10 (v2)" 2019-08-12 12:47:47 -05:00
amdgpu_gem.c drm/amdgpu: Initialise drm_gem_object_funcs for imported BOs 2020-12-09 10:06:40 -05:00
amdgpu_gem.h drm/amdgpu: cleanup mtype mapping 2019-09-16 09:59:21 -05:00
amdgpu_gfx.c drm/amdgpu: Cancel delayed work when GFXOFF is disabled 2021-09-03 10:09:22 +02:00
amdgpu_gfx.h drm/amdgpu: fix compute queue priority if num_kcq is less than 4 2020-12-30 11:53:09 +01:00
amdgpu_gfxhub.h drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
amdgpu_gmc.c drm/amdgpu: fix regression in vbios reservation handling on headless 2020-12-30 11:53:54 +01:00
amdgpu_gmc.h drm/amdgpu: store noretry parameter per driver instance 2020-09-25 16:55:16 -04:00
amdgpu_gtt_mgr.c drm: amdgpu: kernel-doc: update some adev parameters 2020-10-28 11:41:15 -06:00
amdgpu_i2c.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
amdgpu_i2c.h
amdgpu_ib.c drm/amdgpu: remove unsafe optimization to drop preamble ib 2021-07-19 09:44:45 +02:00
amdgpu_ids.c drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2 2021-05-14 09:50:01 +02:00
amdgpu_ids.h drm, iommu: Change type of pasid to u32 2020-09-17 19:21:16 +02:00
amdgpu_ih.c drm/amdgpu: remove not needed memset 2019-11-19 10:12:54 -05:00
amdgpu_ih.h drm/amdgpu: limit the number of IVs processed at once 2019-03-19 15:36:58 -05:00
amdgpu_ioc32.c drm/amd: drop use of drmP.h in amdgpu/amdgpu* 2019-06-10 23:02:48 +02:00
amdgpu_irq.c drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac 2021-05-11 14:47:25 +02:00
amdgpu_irq.h drm/amdgpu: cleanup amdgpu_ih_process a bit more 2019-02-13 17:47:11 -05:00
amdgpu_job.c drm/scheduler: Scheduler priority fixes (v2) 2020-08-18 18:20:17 -04:00
amdgpu_job.h drm/amdgpu: Move to a per-IB secure flag (TMZ) 2020-04-28 16:20:29 -04:00
amdgpu_jpeg.c drm/amdgpu/jpeg: fix race condition issue for jpeg start 2020-07-01 01:59:19 -04:00
amdgpu_jpeg.h drm/amdgpu/jpeg: fix race condition issue for jpeg start 2020-07-01 01:59:19 -04:00
amdgpu_kms.c drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
amdgpu_mes.h drm/amdgpu/mes: add status fence memory definitions 2020-07-01 01:59:11 -04:00
amdgpu_mmhub.c drm/amdgpu: call ras_debugfs_create_all in debugfs_init 2020-03-10 15:55:11 -04:00
amdgpu_mmhub.h drm/amdgpu: update athub interrupt harvesting handle 2020-09-22 17:37:38 -04:00
amdgpu_mn.c drm/amdgpu: Use mmu_interval_notifier instead of hmm_mirror 2019-11-23 19:56:45 -04:00
amdgpu_mn.h drm/amdgpu: Use mmu_interval_notifier instead of hmm_mirror 2019-11-23 19:56:45 -04:00
amdgpu_mode.h drm/amdgpu: Move existing pflip fields into separate struct 2020-09-15 17:52:39 -04:00
amdgpu_nbio.c drm/amdgpu: call ras_debugfs_create_all in debugfs_init 2020-03-10 15:55:11 -04:00
amdgpu_nbio.h drm/amdgpu: cleanup all virtualization detection routine 2020-04-01 14:44:42 -04:00
amdgpu_object.c Merge drm/drm-next into drm-misc-next 2020-09-14 18:11:40 +02:00
amdgpu_object.h drm/ttm: rename ttm_mem_reg to ttm_resource. 2020-08-06 13:19:21 +10:00
amdgpu_pll.c drm/amd: drop use of drmP.h in amdgpu/amdgpu* 2019-06-10 23:02:48 +02:00
amdgpu_pll.h
amdgpu_pmu.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
amdgpu_pmu.h drm/amdgpu: add pmu counters 2019-06-20 11:36:22 -05:00
amdgpu_psp.c drm/amdgpu: fix potential memory leak during navi12 deinitialization 2021-01-19 18:27:27 +01:00
amdgpu_psp.h drm/amd/amdgpu:save psp ring wptr to avoid attack 2021-06-18 10:00:06 +02:00
amdgpu_rap.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
amdgpu_rap.h drm/amdgpu: add debugfs interface for RAP test 2020-08-14 16:22:40 -04:00
amdgpu_ras_eeprom.c drm/amdgpu: added RAS EEPROM device support check 2020-08-04 17:29:18 -04:00
amdgpu_ras_eeprom.h drm/amdgpu: break GPU recovery once it's in bad state(v4) 2020-08-04 17:26:54 -04:00
amdgpu_ras.c drm/amdgpu: toggle on DF Cstate after finishing xgmi injection 2021-03-04 11:37:42 +01:00
amdgpu_ras.h drm/amdgpu: fix debugfs creation/removal, again 2020-12-09 10:06:39 -05:00
amdgpu_ring.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
amdgpu_ring.h drm/scheduler: Scheduler priority fixes (v2) 2020-08-18 18:20:17 -04:00
amdgpu_rlc.c drm/amdgpu: fix calltrace during kmd unload(v3) 2019-12-03 11:57:00 -05:00
amdgpu_rlc.h drm/amdgpu: add rlc iram and dram firmware support 2020-10-21 17:33:42 -04:00
amdgpu_sa.c drm/amd: drop use of drmP.h in amdgpu/amdgpu* 2019-06-10 23:02:48 +02:00
amdgpu_sched.c drm/amdgpu: drm_device to amdgpu_device by inline-f (v2) 2020-08-24 13:06:06 -04:00
amdgpu_sched.h drm/scheduler: Remove priority macro INVALID (v2) 2020-08-18 18:20:26 -04:00
amdgpu_sdma.c drm/amdgpu: call ras_debugfs_create_all in debugfs_init 2020-03-10 15:55:11 -04:00
amdgpu_sdma.h drm/amdgpu: expand sdma copy_buffer interface with tmz parameter 2020-04-28 16:20:29 -04:00
amdgpu_socbb.h drm/amd/display: use fixed-width data type for soc bounding box struct 2019-06-21 18:59:34 -05:00
amdgpu_sync.c drm/amdgpu: remove distinction between explicit and implicit sync (v2) 2020-07-01 01:59:22 -04:00
amdgpu_sync.h drm/amdgpu: remove distinction between explicit and implicit sync (v2) 2020-07-01 01:59:22 -04:00
amdgpu_test.c drm/amdgpu: cleanup IB pool handling a bit 2020-04-28 16:20:30 -04:00
amdgpu_trace_points.c drm/amd: drop use of drmP.h in amdgpu/amdgpu* 2019-06-10 23:02:48 +02:00
amdgpu_trace.h drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition 2021-03-04 11:37:38 +01:00
amdgpu_ttm.c drm/amdgpu: Fix a use-after-free 2021-06-03 09:00:45 +02:00
amdgpu_ttm.h Merge drm/drm-next into drm-misc-next 2020-09-14 18:11:40 +02:00
amdgpu_ucode.c drm/amdgpu: add rlc iram and dram firmware support 2020-10-21 17:33:42 -04:00
amdgpu_ucode.h drm/amdgpu: add rlc iram and dram firmware support 2020-10-21 17:33:42 -04:00
amdgpu_umc.c drm/amdgpu: disable page reservation when amdgpu_bad_page_threshold = 0 2020-08-04 17:27:20 -04:00
amdgpu_umc.h drm/amdgpu: fix bad address translation for sienna_cichlid 2021-07-19 09:44:51 +02:00
amdgpu_uvd.c amdgpu: avoid incorrect %hu format string 2021-05-11 14:47:30 +02:00
amdgpu_uvd.h drm/amdgpu: fix SI UVD firmware validate resume fail 2020-11-24 12:29:35 -05:00
amdgpu_vce.c drm/amdgpu: cleanup IB pool handling a bit 2020-04-28 16:20:30 -04:00
amdgpu_vce.h drm/amdgpu/vce: make some functions static 2019-10-25 16:15:00 -04:00
amdgpu_vcn.c drm/amdgpu: enable vcn support for green_sardine (v2) 2020-11-04 08:33:47 -05:00
amdgpu_vcn.h drm/amdgpu: vcn and jpeg ring synchronization 2020-10-14 15:27:50 -04:00
amdgpu_vf_error.c
amdgpu_vf_error.h
amdgpu_virt.c drm/amd/amdgpu: add error handling to amdgpu_virt_read_pf2vf_data 2021-03-07 12:34:12 +01:00
amdgpu_virt.h drm/amdgpu: Implement new guest side VF2PF message transaction (v2) 2020-09-25 17:03:22 -04:00
amdgpu_vm_cpu.c drm/amdgpu: More accurate description of a function param 2020-09-15 17:52:42 -04:00
amdgpu_vm_sdma.c drm/amdgpu: More accurate description of a function param 2020-09-15 17:52:42 -04:00
amdgpu_vm.c drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2 2021-05-14 09:50:01 +02:00
amdgpu_vm.h drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2 2021-05-14 09:50:01 +02:00
amdgpu_vram_mgr.c drm: amdgpu: kernel-doc: update some adev parameters 2020-10-28 11:41:15 -06:00
amdgpu_xgmi.c drm/amdgpu: mask the xgmi number of hops reported from psp to kfd 2021-05-11 14:47:25 +02:00
amdgpu_xgmi.h drm/amdgpu: refine create and release logic of hive info 2020-08-24 12:24:14 -04:00
amdgpu.h drm/amd/display: Add a backlight module option 2021-03-17 17:06:18 +01:00
amdgv_sriovmsg.h drm/amdgpu: Update VF2PF interface 2020-09-25 16:55:44 -04:00
arct_reg_init.c drm/amdgpu: Delete useless header file reference 2019-10-03 09:11:05 -05:00
athub_v1_0.c drm/amdgpu: enable ATHUB clock gatting 2020-08-24 13:06:05 -04:00
athub_v1_0.h drm/amdgpu: split athub clock gating from mmhub 2019-08-12 12:47:48 -05:00
athub_v2_1.c drm/amdgpu: support athub cg setting for navy_flounder 2020-07-15 12:47:25 -04:00
athub_v2_1.h drm/amdgpu: add support for athub v2.1 2020-07-01 01:59:07 -04:00
athub_v2_0.c drm/amdgpu: remove unnecessary conversion to bool 2020-01-22 16:55:27 -05:00
athub_v2_0.h drm/amdgpu/athub2: enable athub2 clock gating 2019-06-20 21:35:29 -05:00
atom.c drm/amdgpu: revert "fix system hang issue during GPU reset" 2020-08-14 16:22:40 -04:00
atom.h drm/amd: drop use of drmP.h in atom.h 2019-06-10 23:00:01 +02:00
atombios_crtc.c drm/amdgpu: drm_device to amdgpu_device by inline-f (v2) 2020-08-24 13:06:06 -04:00
atombios_crtc.h
atombios_dp.c Merge tag 'amd-drm-next-5.10-2020-09-03' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-09-08 16:40:13 +10:00
atombios_dp.h
atombios_encoders.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
atombios_encoders.h
atombios_i2c.c drm/amdgpu: drm_device to amdgpu_device by inline-f (v2) 2020-08-24 13:06:06 -04:00
atombios_i2c.h
cik_ih.c drm/amdgpu: simplify the return expression 2020-09-22 17:37:37 -04:00
cik_ih.h
cik_sdma.c drm/amdgpu: perform srbm soft reset always on SDMA resume 2020-10-30 01:16:54 -04:00
cik_sdma.h
cik.c drm/amd/pm: enable baco reset for Hawaii 2020-10-30 01:17:43 -04:00
cik.h drm/amd/powerplay: cover the powerplay implementation details V3 2020-01-14 10:18:08 -05:00
cikd.h drm/amdgpu: Clean up KFD VMID assignment 2020-07-02 12:02:50 -04:00
clearstate_ci.h
clearstate_defs.h
clearstate_gfx9.h
clearstate_gfx10.h drm/amdgpu: add gfx v10 clear state header v2 2019-06-20 21:16:37 -05:00
clearstate_si.h
clearstate_vi.h
cz_ih.c drm/amdgpu: Add check to prevent IH overflow 2021-03-07 12:34:11 +01:00
cz_ih.h
dce_v6_0.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
dce_v6_0.h
dce_v8_0.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
dce_v8_0.h
dce_v10_0.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
dce_v10_0.h
dce_v11_0.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
dce_v11_0.h
dce_virtual.c drm/amdgpu: Remove warning for virtual_display 2020-10-09 15:15:48 -04:00
dce_virtual.h
df_v1_7.c drm/amdgpu: Match TC hash settings to DF settings (v2) 2020-01-14 10:18:58 -05:00
df_v1_7.h
df_v3_6.c drm/amdgpu: stop resetting xgmi perfmons on disable 2020-09-15 17:52:42 -04:00
df_v3_6.h drm/amdgpu: update df_v3_6 for xgmi perfmons (v2) 2019-06-20 11:35:45 -05:00
emu_soc.c
gfx_v6_0.c drm/amdgpu: apply AMDGPU_IB_FLAG_EMIT_MEM_SYNC to compute IBs too (v3) 2020-05-18 11:24:21 -04:00
gfx_v6_0.h
gfx_v7_0.c drm/amdgpu: Clean up KFD VMID assignment 2020-07-02 12:02:50 -04:00
gfx_v7_0.h
gfx_v8_0.c drm/amdgpu: fix compute queue priority if num_kcq is less than 4 2020-12-30 11:53:09 +01:00
gfx_v8_0.h
gfx_v9_4.c drm/amdgpu: update athub interrupt harvesting handle 2020-09-22 17:37:38 -04:00
gfx_v9_4.h drm/amdgpu: update athub interrupt harvesting handle 2020-09-22 17:37:38 -04:00
gfx_v9_0.c drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir. 2021-08-26 08:35:37 -04:00
gfx_v9_0.h drm/amd/amdgpu: Prepare implementation to support reporting of CU usage 2020-09-30 13:50:06 -04:00
gfx_v10_0.c drm/amdgpu: update golden setting for sienna_cichlid 2021-07-28 14:35:47 +02:00
gfx_v10_0.h drm/amdgpu: add gfx v10 implementation (v10) 2019-06-21 18:59:23 -05:00
gfxhub_v1_1.c drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gfxhub_v1_1.h drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gfxhub_v1_0.c drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gfxhub_v1_0.h drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gfxhub_v2_1.c drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gfxhub_v2_1.h drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gfxhub_v2_0.c drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gfxhub_v2_0.h drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gmc_v6_0.c drm/amdgpu/gmc6: switch to using amdgpu_gmc_get_vbios_allocations 2020-08-04 17:29:28 -04:00
gmc_v6_0.h
gmc_v7_0.c drm/amdgpu: refine codes to avoid reentering GPU recovery 2020-08-24 12:22:56 -04:00
gmc_v7_0.h
gmc_v8_0.c drm/amdgpu: refine codes to avoid reentering GPU recovery 2020-08-24 12:22:56 -04:00
gmc_v8_0.h
gmc_v9_0.c drm/amdgpu: drop duplicated ecc check for vega10 (v5) 2020-09-30 13:53:21 -04:00
gmc_v9_0.h drm/amdgpu: add pre_asic_init callback for SOC15 2020-08-26 16:40:18 -04:00
gmc_v10_0.c drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gmc_v10_0.h drm/amdgpu: add gmc v10 ip block for navi10 (v6) 2019-06-20 21:35:29 -05:00
iceland_ih.c drm/amdgpu: Add check to prevent IH overflow 2021-03-07 12:34:11 +01:00
iceland_ih.h
iceland_sdma_pkt_open.h
jpeg_v1_0.c drm/amdgpu: vcn and jpeg ring synchronization 2020-10-14 15:27:50 -04:00
jpeg_v1_0.h drm/amdgpu: separate JPEG1.0 code out from VCN1.0 2019-11-19 10:12:49 -05:00
jpeg_v2_5.c drm/amdgpu/jpeg2.5: add cancel_delayed_work_sync before power gate 2021-06-10 13:39:23 +02:00
jpeg_v2_5.h drm/amdgpu: move JPEG2.5 out from VCN2.5 2019-11-19 10:12:50 -05:00
jpeg_v2_0.c drm/amdgpu/jpeg2.0: add cancel_delayed_work_sync before power gate 2021-06-03 09:00:31 +02:00
jpeg_v2_0.h drm/amdgpu: add JPEG v2.0 function supports 2019-11-19 10:12:50 -05:00
jpeg_v3_0.c drm/amdgpu/jpeg3: add cancel_delayed_work_sync before power gate 2021-06-10 13:39:23 +02:00
jpeg_v3_0.h drm/amdgpu: add JPEG3.0 support for Sienna_Cichlid 2020-07-01 01:59:09 -04:00
Kconfig drm/amdgpu: fix license on Kconfig and Makefiles 2019-12-11 15:22:08 -05:00
Makefile drm/amd/pm: optimize the power related source code layout 2020-08-14 16:22:41 -04:00
mes_api_def.h drm/amdgpu/mes: update mes fw api 2020-07-01 01:59:11 -04:00
mes_v10_1.c drm/amdgpu/mes: simplify the return expression of mes_v10_1_ring_init 2020-09-22 17:37:37 -04:00
mes_v10_1.h drm/amdgpu/mes10.1: Fix header guard 2019-07-08 13:56:02 -05:00
mmhub_v1_0.c drm/amdgpu: store noretry parameter per driver instance 2020-09-25 16:55:16 -04:00
mmhub_v1_0.h drm/amdgpu: Use function pointer for some mmhub functions 2020-08-14 16:22:40 -04:00
mmhub_v2_0.c drm/amdgpu: store noretry parameter per driver instance 2020-09-25 16:55:16 -04:00
mmhub_v2_0.h drm/amdgpu: Use function pointer for some mmhub functions 2020-08-14 16:22:40 -04:00
mmhub_v9_4.c drm/amdgpu: store noretry parameter per driver instance 2020-09-25 16:55:16 -04:00
mmhub_v9_4.h drm/amdgpu: Use function pointer for some mmhub functions 2020-08-14 16:22:40 -04:00
mmsch_v1_0.h drm/amdgpu: add VCN2.5 MMSCH start for Arcturus 2019-12-18 16:33:26 -05:00
mmsch_v2_0.h drm/amdgpu: introduce mmsch v2.0 header 2020-03-06 14:34:42 -05:00
mmsch_v3_0.h drm/amd/sriov add mmsch_v3 interface 2020-07-15 12:45:05 -04:00
mxgpu_ai.c drm/amdgpu: Do gpu recovery when no job is running 2020-09-15 17:24:18 -04:00
mxgpu_ai.h drm/amdgpu: extent threshold of waiting FLR_COMPLETE 2020-04-24 11:42:11 -04:00
mxgpu_nv.c drm/amdgpu: Do gpu recovery when no job is running 2020-09-15 17:24:18 -04:00
mxgpu_nv.h drm/amdgpu: extent threshold of waiting FLR_COMPLETE 2020-04-24 11:42:11 -04:00
mxgpu_vi.c drm/amd/amdgpu: fix spelling mistake "recieve" -> "receive" 2019-04-19 11:33:27 -05:00
mxgpu_vi.h drm/amdgpu: cleanup idh event/req for NV headers 2020-04-01 14:44:43 -04:00
navi10_ih.c drm/amdgpu: enable ih1 ih2 for Arcturus only 2020-09-03 14:47:48 -04:00
navi10_ih.h drm/amdgpu: add navi10 ih ip block (v3) 2019-06-20 21:35:30 -05:00
navi10_reg_init.c drm/amdgpu: Delete useless header file reference 2019-10-03 09:11:05 -05:00
navi10_sdma_pkt_open.h drm/amdgpu: invalidate L2 before SDMA IBs (v2) 2020-04-28 15:58:12 -04:00
navi12_reg_init.c drm/amdgpu: Delete useless header file reference 2019-10-03 09:11:05 -05:00
navi14_reg_init.c drm/amdgpu: Delete useless header file reference 2019-10-03 09:11:05 -05:00
nbio_v2_3.c drm/amdgpu: add 2rd VCN instance doorbell support 2020-07-01 01:59:07 -04:00
nbio_v2_3.h drm/amdgpu: switch to new amdgpu_nbio structure 2019-09-13 17:11:03 -05:00
nbio_v6_1.c drm/amdgpu: cleanup all virtualization detection routine 2020-04-01 14:44:42 -04:00
nbio_v6_1.h drm/amdgpu: switch to new amdgpu_nbio structure 2019-09-13 17:11:03 -05:00
nbio_v7_4.c drm/amdgpu: bypass querying ras error count registers 2020-08-14 16:12:22 -04:00
nbio_v7_4.h drm/amdgpu: switch to new amdgpu_nbio structure 2019-09-13 17:11:03 -05:00
nbio_v7_0.c drm/amdgpu: cleanup all virtualization detection routine 2020-04-01 14:44:42 -04:00
nbio_v7_0.h drm/amdgpu: switch to new amdgpu_nbio structure 2019-09-13 17:11:03 -05:00
nv.c drm/amdgpu:disable VCN for Navi12 SKU 2021-03-09 11:11:12 +01:00
nv.h drm/amdgpu: request init data in virt detection 2020-07-02 12:02:50 -04:00
nvd.h drm/amdgpu: Add AQUIRE_MEM PACKET3 fields defintion 2020-05-14 16:42:43 -04:00
ObjectID.h
psp_gfx_if.h drm/amdgpu/psp: fix psp gfx ctrl cmds 2021-01-27 11:55:02 +01:00
psp_v3_1.c drm/amd/amdgpu:save psp ring wptr to avoid attack 2021-06-18 10:00:06 +02:00
psp_v3_1.h
psp_v10_0.c drm/amdgpu: add apu flags (v2) 2020-05-22 13:41:53 -04:00
psp_v10_0.h
psp_v11_0.c drm/amd/amdgpu:save psp ring wptr to avoid attack 2021-06-18 10:00:06 +02:00
psp_v11_0.h
psp_v12_0.c drm/amdgpu: Avoid printing of stack contents on firmware load error 2021-08-04 12:46:41 +02:00
psp_v12_0.h drm/amdgpu: add psp_v12_0 for renoir (v2) 2019-08-12 12:47:50 -05:00
sdma_common.h drm/amdgpu: add sdma ip block for sienna_cichlid (v5) 2020-06-03 13:52:04 -04:00
sdma_v2_4.c drm/amdgpu: expand sdma copy_buffer interface with tmz parameter 2020-04-28 16:20:29 -04:00
sdma_v2_4.h
sdma_v3_0.c drm/amdgpu: expand sdma copy_buffer interface with tmz parameter 2020-04-28 16:20:29 -04:00
sdma_v3_0.h
sdma_v4_0.c drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2) 2021-07-19 09:44:57 +02:00
sdma_v4_0.h
sdma_v5_2.c drm/amdgpu: stop touching sched.ready in the backend 2021-06-03 09:00:45 +02:00
sdma_v5_2.h drm/amdgpu: add sdma ip block for sienna_cichlid (v5) 2020-06-03 13:52:04 -04:00
sdma_v5_0.c drm/amdgpu: update sdma golden setting for Navi12 2021-05-26 12:06:53 +02:00
sdma_v5_0.h drm/amdgpu: add sdma ip block for sienna_cichlid (v5) 2020-06-03 13:52:04 -04:00
si_dma.c drm/amdgpu: expand sdma copy_buffer interface with tmz parameter 2020-04-28 16:20:29 -04:00
si_dma.h
si_enums.h drm/amdgpu: Clean up KFD VMID assignment 2020-07-02 12:02:50 -04:00
si_ih.c drm/amdgpu/uvd3.x: fix register definition warnings 2020-07-01 01:59:24 -04:00
si_ih.h
si.c drm/amd/amdgpu: fix comparison pointer to bool warning in si.c 2020-09-15 17:52:43 -04:00
si.h
sid.h drm/amdgpu: Clean up KFD VMID assignment 2020-07-02 12:02:50 -04:00
sienna_cichlid_reg_init.c drm/amdgpu: initialize IP offset for sienna_cichlid (v2) 2020-06-03 13:52:00 -04:00
smu_v11_0_i2c.c drm/amd/powerplay: optimize i2c bus access implementation 2020-08-14 16:22:41 -04:00
smu_v11_0_i2c.h drm/amdgpu: remove eeprom from the smu i2c handlers 2020-07-21 15:37:49 -04:00
soc15_common.h drm/amdgpu: fix unused variable 2020-07-01 01:59:24 -04:00
soc15.c drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang 2021-05-26 12:06:53 +02:00
soc15.h drm/amdgpu: request init data in virt detection 2020-07-02 12:02:50 -04:00
soc15d.h drm/amdgpu: Add AQUIRE_MEM PACKET3 fields defintion 2020-05-14 16:42:43 -04:00
ta_rap_if.h drm/amdgpu: add RAP TA header file 2020-08-14 16:22:39 -04:00
ta_ras_if.h drm/amdgpu: update RAS TA to Host interface 2020-04-30 16:48:27 -04:00
ta_xgmi_if.h drm/amdgpu/psp: add xgmi ta header 2018-11-06 14:02:41 -05:00
tonga_ih.c drm/amdgpu: Add check to prevent IH overflow 2021-03-07 12:34:11 +01:00
tonga_ih.h
tonga_sdma_pkt_open.h
umc_v6_1.c drm/amdgpu: move umc specific macros to header 2020-07-23 10:45:00 -04:00
umc_v6_1.h drm/amdgpu: Added RAS UMC error query support for Arcturus 2019-12-11 15:22:07 -05:00
umc_v6_0.c drm/amdgpu: fix an UMC hw arbitrator bug(v3) 2019-10-03 09:11:01 -05:00
umc_v6_0.h drm/amdgpu: fix an UMC hw arbitrator bug(v3) 2019-10-03 09:11:01 -05:00
umc_v8_7.c drm/amdgpu: fix bad address translation for sienna_cichlid 2021-07-19 09:44:51 +02:00
umc_v8_7.h drm/amdgpu: add support for umc 8.7 ras functions 2020-07-27 16:23:00 -04:00
uvd_v3_1.c drm/amdgpu: fix a page fault 2020-11-24 12:30:37 -05:00
uvd_v3_1.h drm amdgpu: SI UVD v3_1 (v2) 2020-07-01 01:59:24 -04:00
uvd_v4_2.c drm/amd: fix typoes in comments 2020-09-22 17:37:38 -04:00
uvd_v4_2.h
uvd_v5_0.c drm/amd: fix typoes in comments 2020-09-22 17:37:38 -04:00
uvd_v5_0.h
uvd_v6_0.c drm/amdgpu: make sure we unpin the UVD BO 2021-06-10 13:39:27 +02:00
uvd_v6_0.h
uvd_v7_0.c drm/amd: fix typoes in comments 2020-09-22 17:37:38 -04:00
uvd_v7_0.h
vce_v2_0.c drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -04:00
vce_v2_0.h
vce_v3_0.c drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -04:00
vce_v3_0.h
vce_v4_0.c drm/amdgpu: use register distance member instead of hardcode in UVD7/VCE4 2020-07-08 09:03:25 -04:00
vce_v4_0.h
vcn_v1_0.c drm/amdgpu/vcn1: add cancel_delayed_work_sync before power gate 2021-06-03 09:00:30 +02:00
vcn_v1_0.h drm/amdgpu: vcn and jpeg ring synchronization 2020-10-14 15:27:50 -04:00
vcn_v2_5.c drm/amdgpu/vcn2.5: add cancel_delayed_work_sync before power gate 2021-06-03 09:00:31 +02:00
vcn_v2_5.h drm/amdgpu: enable VCN2.5 on Arcturus 2019-07-18 14:18:05 -05:00
vcn_v2_0.c drm/amdgpu/vcn2.0: add cancel_delayed_work_sync before power gate 2021-06-03 09:00:31 +02:00
vcn_v2_0.h drm/amdgpu/vcn: Share vcn_v2_0_dec_ring_test_ring to vcn2.5 2020-01-27 16:46:44 -05:00
vcn_v3_0.c drm/amdgpu/vcn3: add cancel_delayed_work_sync before power gate 2021-06-10 13:39:23 +02:00
vcn_v3_0.h drm/amdgpu: add VCN3.0 support for Sienna_Cichlid 2020-07-01 01:59:09 -04:00
vega10_ih.c drm/amdgpu: remove unnecessary conversion to bool 2020-01-22 16:55:27 -05:00
vega10_ih.h
vega10_reg_init.c drm/amdgpu: Delete useless header file reference 2019-10-03 09:11:05 -05:00
vega10_sdma_pkt_open.h
vega20_reg_init.c drm/amdgpu: Delete useless header file reference 2019-10-03 09:11:05 -05:00
vi.c drm/amdgpu: add pre_asic_init callback for VI 2020-08-26 16:40:18 -04:00
vi.h drm/amdgpu: request init data in virt detection 2020-07-02 12:02:50 -04:00
vid.h drm/amdgpu: Clean up KFD VMID assignment 2020-07-02 12:02:50 -04:00