mirror_ubuntu-kernels/drivers/gpu/drm/amd/amdgpu
Michel Dänzer 32bc8f8373 drm/amdgpu: Cancel delayed work when GFXOFF is disabled
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>
2021-08-20 13:35:42 -04:00
..
aldebaran_reg_init.c drm/amdgpu: add register base init for aldebaran (v2) 2021-03-10 00:01:34 -05:00
aldebaran.c drm/amdgpu: Remove unneeded semicolon 2021-06-01 22:55:39 -04:00
aldebaran.h drm/amdgpu: Add mode2 reset support for aldebaran 2021-04-09 16:46:26 -04:00
amdgpu_acp.c drm/amd/amdgpu/amdgpu_acp: Fix doc-rot issues pertaining to a couple of 'handle' params 2020-12-01 16:04:43 -05:00
amdgpu_acp.h
amdgpu_acpi.c drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled 2021-08-05 21:02:29 -04:00
amdgpu_afmt.c
amdgpu_amdkfd_aldebaran.c drm/amdkfd: add aldebaran kfd2kgd callbacks to kfd device (v2) 2021-03-23 22:59:28 -04:00
amdgpu_amdkfd_arcturus.c drm/amdgpu: Added missing prototype 2021-04-28 23:35:49 -04:00
amdgpu_amdkfd_arcturus.h drm/amdkfd: add aldebaran kfd2kgd callbacks to kfd device (v2) 2021-03-23 22:59:28 -04:00
amdgpu_amdkfd_fence.c drm/amd/amdgpu: Fix errors in documentation of function parameters 2021-05-10 18:06:42 -04: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/amd/amdgpu: Fix errors in documentation of function parameters 2021-05-10 18:06:42 -04:00
amdgpu_amdkfd_gfx_v9.h Merge tag 'amd-drm-next-5.11-2020-11-05' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-11-10 17:48:47 +10:00
amdgpu_amdkfd_gfx_v10_3.c drm/amdgpu: Modify GC register access to use _SOC15 macros 2021-06-04 16:02:57 -04:00
amdgpu_amdkfd_gfx_v10.c drm/amdgpu: Modify GC register access from MMIO to RLCG in file kfd_v10* 2021-05-21 10:32:07 -04:00
amdgpu_amdkfd_gpuvm.c Revert "drm/amdkfd: Make TLB flush conditional on mapping" 2021-07-13 11:59:22 -04:00
amdgpu_amdkfd.c Merge drm/drm-next into drm-misc-next 2021-05-22 07:17:05 +02:00
amdgpu_amdkfd.h Revert "drm/amdkfd: Make TLB flush conditional on mapping" 2021-07-13 11:59:22 -04:00
amdgpu_atombios.c Merge drm/drm-next into drm-misc-next 2021-05-22 07:17:05 +02:00
amdgpu_atombios.h drm/amdgpu: drop some unused atombios functions 2021-04-09 16:50:34 -04:00
amdgpu_atomfirmware.c drm/amdgpu: set RAS EEPROM address from VBIOS 2021-08-06 11:33:50 -04:00
amdgpu_atomfirmware.h drm/amdgpu: set RAS EEPROM address from VBIOS 2021-08-06 11:33:50 -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: allow variable BO struct creation 2021-04-09 16:45:12 -04:00
amdgpu_bios.c Merge tag 'amd-drm-next-5.13-2021-03-23' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2021-03-26 15:53:21 +01: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
amdgpu_cgs.c drm/amd/pm: correct the checks for polaris kickers 2020-10-27 11:56:42 -04:00
amdgpu_connectors.c drm/amdgpu: only set DP subconnector type on DP and eDP connectors 2020-12-23 15:03:08 -05:00
amdgpu_connectors.h
amdgpu_cs.c Revert "drm/amdgpu: Add table_freed parameter to amdgpu_vm_bo_update" 2021-07-13 11:59:30 -04:00
amdgpu_csa.c drm/amd/amdgpu/amdgpu_csa: Remove set but unused variable 'r' 2020-11-13 17:29:46 -05:00
amdgpu_csa.h
amdgpu_ctx.c drm/amdgpu: Don't query CE and UE errors 2021-06-02 17:52:38 -04:00
amdgpu_ctx.h drm/amdgpu: fix fence calculation (v2) 2021-05-13 14:09:12 -04:00
amdgpu_debugfs.c drm/amdgpu: remove amdgpu_vm_pt 2021-06-15 17:25:42 -04:00
amdgpu_debugfs.h drm/amdgpu: do not use drm middle layer for debugfs 2021-02-18 16:43:09 -05:00
amdgpu_device.c drm/amdgpu: Cancel delayed work when GFXOFF is disabled 2021-08-20 13:35:42 -04:00
amdgpu_df.h drm/amdgpu: fix xgmi perfmon a-b-a problem 2020-10-07 14:44:16 -04:00
amdgpu_discovery.c drm/amdgpu: handle VCN instances when harvesting (v2) 2021-08-10 10:38:10 -04:00
amdgpu_discovery.h drm/amd/amdgpu: Use IP discovery data to determine VCN enablement instead of MMSCH 2021-06-18 17:14:01 -04:00
amdgpu_display.c drm/amdgpu: Call drm_framebuffer_init last for framebuffer init 2021-06-21 17:21:49 -04:00
amdgpu_display.h drm/amdgpu: clean up non-DC suspend/resume handling 2021-04-09 16:36:40 -04:00
amdgpu_dma_buf.c drm pull for 5.14-rc1 2021-07-01 12:53:43 -07:00
amdgpu_dma_buf.h drm/amdgpu: Implement mmap as GEM object function 2021-05-26 20:56:23 +02: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-06 11:35:58 -04: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-05-19 22:43:43 -04:00
amdgpu_fdinfo.c drm/amdgpu: remove amdgpu_vm_pt 2021-06-15 17:25:42 -04:00
amdgpu_fdinfo.h drm/amdgpu: Add show_fdinfo() interface 2021-05-05 09:26:53 +02:00
amdgpu_fence.c Merge drm/drm-next into drm-misc-next 2021-05-22 07:17:05 +02:00
amdgpu_fru_eeprom.c drm/amdgpu: refine amdgpu_fru_get_product_info 2021-06-02 17:51:12 -04:00
amdgpu_fru_eeprom.h drm/amdgpu: fix incorrect comment 2020-09-29 16:11:50 -04:00
amdgpu_fw_attestation.c drm/amdgpu: Update psp fw attestation support list 2021-06-07 14:57:32 -04:00
amdgpu_fw_attestation.h drm/amdgpu: added support for psp fw attestation 2020-10-26 13:27:00 -04:00
amdgpu_gart.c drm/amdgpu: remove unused parameter in amdgpu_gart_bind 2021-06-18 17:12:47 -04:00
amdgpu_gart.h drm/amdgpu: remove unused parameter in amdgpu_gart_bind 2021-06-18 17:12:47 -04:00
amdgpu_gds.h
amdgpu_gem.c Short summary of fixes pull: 2021-07-23 11:17:03 +10:00
amdgpu_gem.h drm/amdgpu: Introduce GEM object functions 2020-09-25 09:19:42 +02:00
amdgpu_gfx.c drm/amdgpu: Cancel delayed work when GFXOFF is disabled 2021-08-20 13:35:42 -04:00
amdgpu_gfx.h drm/amdgpu: split gfx callbacks into ras and non-ras ones 2021-04-09 16:51:22 -04:00
amdgpu_gfxhub.h drm/amdgpu: add gpu harvest support for yellow carp (v2) 2021-06-04 16:03:24 -04:00
amdgpu_gmc.c drm/amdgpu: enable tmz on yellow carp 2021-06-30 00:18:23 -04:00
amdgpu_gmc.h drm/amdgpu: introduce a stolen reserved buffer to protect specific buffer region (v2) 2021-06-04 16:03:12 -04:00
amdgpu_gtt_mgr.c drm-misc-next for 5.14: 2021-06-10 11:28:09 +10:00
amdgpu_hdp.c drm/amdgpu: add helpers for hdp ras init/fini 2021-05-10 18:06:43 -04:00
amdgpu_hdp.h drm/amdgpu: retired reset_ras_error_count from hdp callbacks 2021-05-10 18:06:43 -04:00
amdgpu_i2c.c drm/amdgpu: Remove references to struct drm_device.pdev 2021-01-13 09:02:58 +01:00
amdgpu_i2c.h
amdgpu_ib.c drm/amdgpu: Don't flush/invalidate HDP for APUs and A+A 2021-06-04 16:02:38 -04:00
amdgpu_ids.c drm-misc-next for 5.14: 2021-06-10 11:28:09 +10:00
amdgpu_ids.h drm, iommu: Change type of pasid to u32 2020-09-17 19:21:16 +02:00
amdgpu_ih.c Merge drm/drm-next into drm-misc-next 2021-05-22 07:17:05 +02:00
amdgpu_ih.h drm/amdgpu: nuke the ih reentrant lock 2021-03-23 23:30:23 -04:00
amdgpu_ioc32.c
amdgpu_irq.c drm/amdgpu: Restore msix after FLR 2021-07-13 11:58:48 -04:00
amdgpu_irq.h drm/amdgpu: Split amdgpu_device_fini into early and late 2021-05-19 23:45:49 -04:00
amdgpu_job.c drm/amdgpu: Prevent any job recoveries after device is unplugged. 2021-05-19 23:50:28 -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/amdgpu: remove amdgpu_vm_pt 2021-06-15 17:25:42 -04: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: add function to clear MMEA error status for aldebaran 2021-05-10 18:11:44 -04:00
amdgpu_mn.c drm/amdkfd: add owner ref param to get hmm pages 2021-07-01 00:05:41 -04:00
amdgpu_mn.h drm/amdkfd: add owner ref param to get hmm pages 2021-07-01 00:05:41 -04:00
amdgpu_mode.h drm/amdgpu: add atomfirmware helper function to query fw cap 2021-05-19 22:30:03 -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: fix the hang caused by PCIe link width switch 2021-06-30 00:18:14 -04:00
amdgpu_object.c drm/amdgpu: use the preferred pin domain after the check 2021-08-20 13:35:35 -04:00
amdgpu_object.h drm/amdgpu: move shadow_list to amdgpu_bo_vm 2021-06-15 17:25:42 -04:00
amdgpu_pll.c drm/amd/amdgpu/amdgpu_pll: Fix kernel-doc formatting, missing and extra params 2020-11-13 17:29:46 -05:00
amdgpu_pll.h
amdgpu_pmu.c drm/amdgpu: fix an error code in init_pmu_entry_by_type_and_add() 2021-04-15 16:32:45 -04:00
amdgpu_pmu.h drm/amdgpu: add per device user friendly xgmi events for vega20 2020-10-07 14:44:33 -04:00
amdgpu_preempt_mgr.c drm/amdgpu: fix amdgpu_preempt_mgr_new() 2021-06-21 15:24:29 +02:00
amdgpu_psp.c drm/amdgpu: correct psp ucode arrary start address 2021-06-15 17:25:42 -04:00
amdgpu_psp.h drm/amdgpu: disable DRAM memory training when GECC is enabled 2021-06-11 16:06:21 -04:00
amdgpu_rap.c drm/amdgpu: change psp_rap_invoke() function return value 2021-03-23 23:00:22 -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: set RAS EEPROM address from VBIOS 2021-08-06 11:33:50 -04:00
amdgpu_ras_eeprom.h drm/amdgpu: remove unnecessary reading for epprom header 2021-02-26 17:23:49 -05:00
amdgpu_ras.c drm/amdgpu: Return error if no RAS 2021-07-13 11:48:10 -04:00
amdgpu_ras.h drm/amdgpu: Return error if no RAS 2021-07-13 11:48:10 -04:00
amdgpu_res_cursor.h drm/amdgpu: Fix out-of-bounds read when update mapping 2021-07-30 11:13:52 -04:00
amdgpu_reset.c drm/amdgpu: Add mode2 reset support for aldebaran 2021-04-09 16:46:26 -04:00
amdgpu_reset.h drm/amdgpu: Fix build warnings 2021-04-09 16:46:32 -04:00
amdgpu_ring.c drm/amd/amdgpu/amdgpu_ring: Provide description for 'sched_score' 2021-04-20 21:51:09 -04:00
amdgpu_ring.h drm/amdgpu: Split amdgpu_device_fini into early and late 2021-05-19 23:45:49 -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: Indirect register access for Navi12 sriov 2021-05-21 10:32:06 -04:00
amdgpu_sa.c drm/amdgpu/amdgpu: improve code indentation and alignment 2020-11-02 15:34:29 -05:00
amdgpu_sched.c drm/amd/amdgpu/amdgpu_sched: Consume our own header containing prototypes 2020-11-13 17:29:46 -05:00
amdgpu_sched.h drm/scheduler: Remove priority macro INVALID (v2) 2020-08-18 18:20:26 -04:00
amdgpu_sdma.c drm/amdgpu/amdgpu: improve code indentation and alignment 2020-11-02 15:34:29 -05:00
amdgpu_sdma.h drm/amdgpu: add sdma 4_x interrupts printing 2021-03-05 15:12:23 -05:00
amdgpu_securedisplay.c drm/amdgpu: Add compile flag for securedisplay 2021-05-19 22:29:49 -04:00
amdgpu_securedisplay.h drm/amdgpu: Add secure display TA interface 2021-01-13 23:58:14 -05:00
amdgpu_smuio.h drm/amdgpu: implement smuio callback to query socket id 2021-04-28 23:35:49 -04:00
amdgpu_socbb.h
amdgpu_sync.c dma-buf: rename and cleanup dma_resv_get_list v2 2021-06-06 11:18:19 +02: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: allow variable BO struct creation 2021-04-09 16:45:12 -04:00
amdgpu_trace_points.c
amdgpu_trace.h Tracing updates for 5.14: 2021-07-03 11:13:22 -07:00
amdgpu_ttm.c drm fixes for 5.14-rc1 2021-07-08 12:28:15 -07:00
amdgpu_ttm.h drm/amdgpu: introduce a stolen reserved buffer to protect specific buffer region (v2) 2021-06-04 16:03:12 -04:00
amdgpu_ucode.c drm/amdgpu: Updated fw header structure source 2021-06-10 11:44:24 -04:00
amdgpu_ucode.h drm/amdgpu: Updated fw header structure source 2021-06-10 11:44:24 -04:00
amdgpu_umc.c drm/amdgpu: message smu to update hbm bad page number 2021-06-18 17:11:56 -04:00
amdgpu_umc.h drm/amdgpu: fix bad address translation for sienna_cichlid 2021-06-18 17:11:40 -04:00
amdgpu_uvd.c drm-misc-next for 5.14: 2021-06-10 11:28:09 +10:00
amdgpu_uvd.h drm/amdgpu: fix SI UVD firmware validate resume fail 2020-11-24 12:02:38 -05:00
amdgpu_vce.c Merge tag 'amd-drm-next-5.14-2021-06-02' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2021-06-04 06:13:57 +10:00
amdgpu_vce.h drm/amdgpu/vce: make some functions static 2019-10-25 16:15:00 -04:00
amdgpu_vcn.c drm/amd/amdgpu: Use IP discovery data to determine VCN enablement instead of MMSCH 2021-06-18 17:14:01 -04:00
amdgpu_vcn.h drm/amd/amdgpu: Use IP discovery data to determine VCN enablement instead of MMSCH 2021-06-18 17:14:01 -04:00
amdgpu_vf_error.c drm/amdgpu/amdgpu: improve code indentation and alignment 2020-11-02 15:34:29 -05:00
amdgpu_vf_error.h
amdgpu_virt.c drm/amdgpu: Fill adev->unique_id with data from PF2VF msg 2021-05-19 22:33:58 -04:00
amdgpu_virt.h drm/amdgpu: Complete multimedia bandwidth interface 2021-05-19 22:29:58 -04:00
amdgpu_vm_cpu.c drm/amdgpu: Don't flush/invalidate HDP for APUs and A+A 2021-06-04 16:02:38 -04:00
amdgpu_vm_sdma.c drm/amdgpu: remove amdgpu_vm_pt 2021-06-15 17:25:42 -04:00
amdgpu_vm.c Revert "drm/amdgpu: Add table_freed parameter to amdgpu_vm_bo_update" 2021-07-13 11:59:30 -04:00
amdgpu_vm.h Revert "drm/amdgpu: Add table_freed parameter to amdgpu_vm_bo_update" 2021-07-13 11:59:30 -04:00
amdgpu_vram_mgr.c drm/amdgpu: Set ttm caching flags during bo allocation 2021-07-01 00:05:12 -04:00
amdgpu_xgmi.c drm/amdgpu: move xgmi ras functions to xgmi_ras_funcs 2021-04-09 16:51:07 -04:00
amdgpu_xgmi.h drm/amdgpu: move xgmi ras functions to xgmi_ras_funcs 2021-04-09 16:51:07 -04:00
amdgpu.h amdgpu/nv.c - Optimize code for video codec support structure 2021-07-16 14:17:05 -04:00
amdgv_sriovmsg.h drm/amdgpu: Complete multimedia bandwidth interface 2021-05-19 22:29:58 -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
athub_v2_0.c drm/amdgpu: correct clock gating settings on feature unsupported 2021-06-30 00:18:22 -04:00
athub_v2_0.h
athub_v2_1.c drm/amdgpu: support athub cg setting for beige_goby 2021-05-19 22:41:19 -04:00
athub_v2_1.h drm/amdgpu: add support for athub v2.1 2020-07-01 01:59:07 -04:00
atom.c drm/amdgpu: Add vbios info ioctl interface 2021-06-01 22:55:39 -04:00
atom.h drm/amdgpu: Add vbios info ioctl interface 2021-06-01 22:55:39 -04: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 drm/dp: Pass drm_dp_aux to drm_dp*_link_train_channel_eq_delay() 2021-04-27 18:43:42 -04:00
atombios_dp.h
atombios_encoders.c drm/amd/amdgpu/atombios_encoders: Remove set but unused variable 'backlight_level' 2020-11-16 15:56:35 -05:00
atombios_encoders.h
atombios_i2c.c drm/amdgpu: use "*" adjacent to data name 2020-11-02 15:35:53 -05:00
atombios_i2c.h
beige_goby_reg_init.c drm/amd/amdgpu: initialize IP offset for beige_goby 2021-05-19 22:40:09 -04:00
cik_ih.c drm/amdgpu: Handle IOMMU enabled case. 2021-05-19 23:50:27 -04:00
cik_ih.h
cik_sdma.c drm/amd/amdgpu/cik_sdma: Fix a few incorrectly named functions 2021-05-21 10:32:14 -04:00
cik_sdma.h
cik.c drm/amdgpu/codec: drop the internal codec index 2021-02-26 17:23:49 -05: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
clearstate_si.h
clearstate_vi.h
cz_ih.c drm/amdgpu: Handle IOMMU enabled case. 2021-05-19 23:50:27 -04:00
cz_ih.h
dce_v6_0.c drm/amd/amdgpu/dce_v6_0: Repair function name of 'si_get_number_of_dram_channels()' 2021-05-21 10:32:15 -04:00
dce_v6_0.h
dce_v8_0.c drm/amdgpu: clean up non-DC suspend/resume handling 2021-04-09 16:36:40 -04:00
dce_v8_0.h
dce_v10_0.c drm/amdgpu: clean up non-DC suspend/resume handling 2021-04-09 16:36:40 -04:00
dce_v10_0.h
dce_v11_0.c drm/amdgpu: clean up non-DC suspend/resume handling 2021-04-09 16:36:40 -04:00
dce_v11_0.h
dce_virtual.c drm/amdgpu: Correct the irq numbers for virtual crtc 2021-07-13 11:48:12 -04:00
dce_virtual.h
df_v1_7.c drm/amdgpu: improve code indentation and alignment 2020-11-02 15:34:31 -05:00
df_v1_7.h
df_v3_6.c drm/amdgpu: Query correct register for DF hashing on Aldebaran 2021-05-19 22:44:19 -04:00
df_v3_6.h drm/amdgpu: add per device user friendly xgmi events for vega20 2020-10-07 14:44:33 -04:00
dimgrey_cavefish_reg_init.c drm/amdgpu: fix wrong executable setting for dimgrey_cavefish_reg_init.c 2021-02-24 09:28:55 -05:00
emu_soc.c
gfx_v6_0.c drm/amdgpu: add the sched_score to amdgpu_ring_init 2021-04-09 16:44:56 -04:00
gfx_v6_0.h
gfx_v7_0.c drm/amd/amdgpu/gfx_v7_0: Repair function names in the documentation 2021-05-21 10:32:14 -04:00
gfx_v7_0.h drm/amd/amdgpu/gfx_v7_0: Remove unused struct definition 2020-11-13 17:29:47 -05:00
gfx_v8_0.c drm/amdgpu: add the sched_score to amdgpu_ring_init 2021-04-09 16:44:56 -04:00
gfx_v8_0.h
gfx_v9_0.c drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir. 2021-07-30 11:14:17 -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_v9_4_2.c drm/amdgpu: PWRBRK sequence changes for Aldebaran 2021-06-18 17:11:49 -04:00
gfx_v9_4_2.h drm/amdgpu: refine gprs init shaders to check coverage 2021-04-23 17:15:21 -04:00
gfx_v9_4.c drm/amdgpu: only harvest gcea/mmea error status in arcturus 2021-04-20 21:35:45 -04:00
gfx_v9_4.h drm/amdgpu: split gfx callbacks into ras and non-ras ones 2021-04-09 16:51:22 -04:00
gfx_v10_0.c drm/amdgpu: update gc golden setting for dimgrey_cavefish 2021-07-16 14:18:30 -04:00
gfx_v10_0.h
gfxhub_v1_0.c drm/amdgpu: remove sriov vf gfxhub fb location programming 2021-06-08 12:14:55 -04:00
gfxhub_v1_0.h drm/amdgpu: make gfxhub_v1_0 callback functions to be static 2020-11-17 14:07:18 -05:00
gfxhub_v1_1.c drm/amdgpu: fix a few compiler warnings 2021-03-23 23:29:26 -04:00
gfxhub_v1_1.h drm/amdgpu: remove gfxhub_v1_1_funcs set 2020-10-16 14:44:32 -04:00
gfxhub_v2_0.c drm/amdgpu: Calling address translation functions to simplify codes 2021-04-15 16:03:01 -04:00
gfxhub_v2_0.h drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gfxhub_v2_1.c drm/amdgpu: add gpu harvest support for yellow carp (v2) 2021-06-04 16:03:24 -04:00
gfxhub_v2_1.h drm/amdgpu: use function pointer for gfxhub functions 2020-09-30 13:50:13 -04:00
gmc_v6_0.c drm/amdgpu: Handle IOMMU enabled case. 2021-05-19 23:50:27 -04:00
gmc_v6_0.h
gmc_v7_0.c Merge tag 'amd-drm-next-5.14-2021-06-02' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2021-06-04 06:13:57 +10:00
gmc_v7_0.h
gmc_v8_0.c drm/amdgpu: Handle IOMMU enabled case. 2021-05-19 23:50:27 -04:00
gmc_v8_0.h
gmc_v9_0.c drm/amdgpu: remove sriov vf checking from getting fb location 2021-06-08 12:14:36 -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: add gpu harvest support for yellow carp (v2) 2021-06-04 16:03:24 -04:00
gmc_v10_0.h
hdp_v4_0.c drm/amdgpu: retired reset_ras_error_count from hdp callbacks 2021-05-10 18:06:43 -04:00
hdp_v4_0.h drm/amdgpu: implement hdp v4_0 ras functions 2021-05-10 18:06:43 -04:00
hdp_v5_0.c drm/amdgpu: update HDP LS settings 2021-06-30 00:18:23 -04:00
hdp_v5_0.h drm/amdgpu: add hdp version 5 functions 2021-01-05 11:32:55 -05:00
iceland_ih.c drm/amdgpu: Handle IOMMU enabled case. 2021-05-19 23:50:27 -04:00
iceland_ih.h
iceland_sdma_pkt_open.h
jpeg_v1_0.c drm/amdgpu: add the sched_score to amdgpu_ring_init 2021-04-09 16:44:56 -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_0.c drm/amdgpu/jpeg2.0: add cancel_delayed_work_sync before power gate 2021-05-21 10:32:11 -04:00
jpeg_v2_0.h drm/amdgpu: add JPEG v2.0 function supports 2019-11-19 10:12:50 -05:00
jpeg_v2_5.c drm/amdgpu/jpeg2.5: add cancel_delayed_work_sync before power gate 2021-05-21 10:32:11 -04:00
jpeg_v2_5.h drm/amdgpu/jpeg2.6: Add jpeg2.6 support 2021-03-23 22:53:34 -04:00
jpeg_v3_0.c drm/amdgpu/jpeg: Remove harvest checking on CHIP_YELLOW_CARP 2021-06-04 16:03:17 -04: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: remove CONFIG_DRM_AMDGPU_GART_DEBUGFS 2021-02-18 16:43:09 -05:00
Makefile drm/amdgpu: add yellow_carp_reg_base_init function for yellow carp (v2) 2021-06-04 16:03:06 -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: add the sched_score to amdgpu_ring_init 2021-04-09 16:44:56 -04:00
mes_v10_1.h
mmhub_v1_0.c drm/amdgpu: Calling address translation functions to simplify codes 2021-04-15 16:03:01 -04:00
mmhub_v1_0.h drm/amdgpu: split mmhub callbacks into ras and non-ras ones 2021-04-09 16:51:19 -04:00
mmhub_v1_7.c drm/amdgpu: remove sriov vf mmhub system aperture and fb location programming 2021-06-08 12:15:01 -04:00
mmhub_v1_7.h drm/amdgpu: split mmhub callbacks into ras and non-ras ones 2021-04-09 16:51:19 -04:00
mmhub_v2_0.c drm/amdgpu: correct clock gating settings on feature unsupported 2021-06-30 00:18:22 -04:00
mmhub_v2_0.h drm/amdgpu: Use function pointer for some mmhub functions 2020-08-14 16:22:40 -04:00
mmhub_v2_3.c drm/amdgpu: add mmhub client support for yellow carp 2021-06-04 16:03:12 -04:00
mmhub_v2_3.h drm/amdgpu: add mmhub v2.3 for vangogh (v4) 2020-10-05 15:15:27 -04:00
mmhub_v9_4.c drm/amd/amdgpu/mmhub_v9_4: Fix naming disparity with 'mmhub_v9_4_set_fault_enable_default()' 2021-05-21 10:32:16 -04:00
mmhub_v9_4.h drm/amdgpu: split mmhub callbacks into ras and non-ras ones 2021-04-09 16:51:19 -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: SRIOV flr_work should take write_lock 2021-07-13 11:48:09 -04:00
mxgpu_ai.h drm/amdgpu/SRIOV: Extend VF reset request wait period 2020-12-15 11:35:35 -05:00
mxgpu_nv.c drm/amdgpu: SRIOV flr_work should take write_lock 2021-07-13 11:48:09 -04:00
mxgpu_nv.h drm/amdgpu/SRIOV: Extend VF reset request wait period 2020-12-15 11:35:35 -05:00
mxgpu_vi.c
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: Use PSP to program IH_RB_CNTL_RING1/2 on SRIOV 2021-06-08 12:24:26 -04:00
navi10_ih.h
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: correct clock gating settings on feature unsupported 2021-06-30 00:18:22 -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/amd/amdgpu: enable ASPM on vega 2021-04-15 16:32:44 -04:00
nbio_v6_1.h drm/amdgpu: switch to new amdgpu_nbio structure 2019-09-13 17:11:03 -05:00
nbio_v7_0.c drm/amdgpu: remove redundant logic related HDP 2021-01-05 11:33:14 -05:00
nbio_v7_0.h drm/amdgpu: switch to new amdgpu_nbio structure 2019-09-13 17:11:03 -05:00
nbio_v7_2.c drm/amdgpu: support nbio_7_2_1 for yellow carp 2021-06-04 16:03:09 -04:00
nbio_v7_2.h drm/amdgpu: add nbio v7.2 for vangogh (v2) 2020-10-05 15:15:27 -04:00
nbio_v7_4.c drm/amd/amdgpu: enable ASPM on vega 2021-04-15 16:32:44 -04:00
nbio_v7_4.h drm/amdgpu: split nbio callbacks into ras and non-ras ones 2021-04-09 16:51:04 -04:00
nv.c drm/amdgpu - Corrected the video codecs array name for yellow carp 2021-07-21 17:47:28 -04:00
nv.h drm/amdgpu: add yellow_carp_reg_base_init function for yellow carp (v2) 2021-06-04 16:03:06 -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: update psp gfx i/f to support dynamic GECC 2021-06-11 16:05:33 -04:00
psp_v3_1.c drm/amdgpu: reset psp ring wptr during ring_create 2021-06-11 16:03:26 -04:00
psp_v3_1.h
psp_v10_0.c drm/amdgpu: Add secure display TA interface 2021-01-13 23:58:14 -05:00
psp_v10_0.h
psp_v11_0.c drm/amdgpu: reset psp ring wptr during ring_create 2021-06-11 16:03:26 -04:00
psp_v11_0.h
psp_v12_0.c drm/amdgpu: Avoid printing of stack contents on firmware load error 2021-07-26 12:43:03 -04:00
psp_v12_0.h
psp_v13_0.c drm/amdgpu: Load TA firmware for yellow carp 2021-06-04 16:03:22 -04:00
psp_v13_0.h drm/amdgpu: init sos microcode for psp v13 2021-03-23 22:51:54 -04: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/amd/amdgpu/sdma_v2_4: Correct misnamed function 'sdma_v2_4_ring_emit_hdp_flush()' 2021-05-21 10:32:18 -04:00
sdma_v2_4.h
sdma_v3_0.c drm/amdgpu: add the sched_score to amdgpu_ring_init 2021-04-09 16:44:56 -04:00
sdma_v3_0.h
sdma_v4_0.c drm/amdgpu: Conditionally reset SDMA RAS error counts 2021-07-01 00:05:41 -04:00
sdma_v4_0.h
sdma_v4_4.c drm/amdgpu: Fix SDMA RAS error reporting on Aldebaran 2021-04-20 21:45:17 -04:00
sdma_v4_4.h drm/amdgpu: add sdma v4_4 ras function 2021-03-23 22:55:31 -04:00
sdma_v5_0.c drm/amdgpu: Fix inconsistent indenting 2021-05-21 18:03:08 -04:00
sdma_v5_0.h drm/amdgpu: add sdma ip block for sienna_cichlid (v5) 2020-06-03 13:52:04 -04:00
sdma_v5_2.c drm/amdgpu: Modify register access in sdma_v5_2 to use _SOC15 macros 2021-06-07 14:56:53 -04:00
sdma_v5_2.h drm/amdgpu: add sdma ip block for sienna_cichlid (v5) 2020-06-03 13:52:04 -04:00
si_dma.c drm/amd/amdgpu/si_dma: Fix some function name disparity 2021-05-21 10:32:14 -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: Handle IOMMU enabled case. 2021-05-19 23:50:27 -04:00
si_ih.h
si.c drm/amdgpu/codec: drop the internal codec index 2021-02-26 17:23:49 -05: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/amdgpu/smu_v11_0_i2c: Provide descriptions for 'control' and 'data' params 2020-11-13 17:29:47 -05:00
smu_v11_0_i2c.h drm/amdgpu: remove eeprom from the smu i2c handlers 2020-07-21 15:37:49 -04:00
smuio_v9_0.c drm/amdgpu: declare smuio callback function as static 2020-11-13 17:29:45 -05:00
smuio_v9_0.h drm/amdgpu: implement smuio v9_0 callbacks 2020-11-13 00:13:16 -05:00
smuio_v11_0_6.c drm/amdgpu: support rom clockgating related function for NV family 2021-02-09 15:28:36 -05:00
smuio_v11_0_6.h drm/amdgpu: implement smuio v11_0_6 callbacks 2021-02-09 15:28:21 -05:00
smuio_v11_0.c drm/amdgpu: correct clock gating settings on feature unsupported 2021-06-30 00:18:22 -04:00
smuio_v11_0.h drm/amdgpu: implement smuio v11_0 callbacks 2020-11-13 00:13:22 -05:00
smuio_v13_0.c drm/amd/amdgpu/smuio_v13_0: Realign 'smuio_v13_0_is_host_gpu_xgmi_supported()' header 2021-05-21 10:32:20 -04:00
smuio_v13_0.h drm/amdgpu: implement smuio v13_0 callbacks 2021-03-23 22:52:38 -04:00
soc15_common.h drm/amdgpu: Fixing "Indirect register access for Navi12 sriov" for vega10 2021-06-07 14:57:38 -04:00
soc15.c amdgpu/nv.c - Optimize code for video codec support structure 2021-07-16 14:17:05 -04:00
soc15.h drm/amdgpu: refine ras codes for GC utc of aldebaran 2021-03-23 22:59: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: add support for ras init flags 2021-04-23 17:15:33 -04:00
ta_secureDisplay_if.h drm/amdgpu: update secure display TA header 2021-03-23 23:27:41 -04:00
ta_xgmi_if.h
tonga_ih.c drm/amdgpu: Handle IOMMU enabled case. 2021-05-19 23:50:27 -04:00
tonga_ih.h
tonga_sdma_pkt_open.h
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_v6_1.c drm/amdgpu: split umc callbacks to ras and non-ras ones 2021-04-09 16:51:11 -04:00
umc_v6_1.h drm/amdgpu: split umc callbacks to ras and non-ras ones 2021-04-09 16:51:11 -04:00
umc_v6_7.c drm/amdgpu: split umc callbacks to ras and non-ras ones 2021-04-09 16:51:11 -04:00
umc_v6_7.h drm/amdgpu: split umc callbacks to ras and non-ras ones 2021-04-09 16:51:11 -04:00
umc_v8_7.c drm/amdgpu: fix bad address translation for sienna_cichlid 2021-06-18 17:11:40 -04:00
umc_v8_7.h drm/amdgpu: split umc callbacks to ras and non-ras ones 2021-04-09 16:51:11 -04:00
uvd_v3_1.c drm/amdgpu: fix typo 2021-05-25 23:44:06 -04: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/amdgpu: add the sched_score to amdgpu_ring_init 2021-04-09 16:44:56 -04:00
uvd_v4_2.h
uvd_v5_0.c drm/amdgpu: add the sched_score to amdgpu_ring_init 2021-04-09 16:44:56 -04:00
uvd_v5_0.h
uvd_v6_0.c drm/amdgpu: make sure we unpin the UVD BO 2021-06-02 17:57:07 -04:00
uvd_v6_0.h
uvd_v7_0.c Merge drm/drm-next into drm-misc-next 2021-04-26 14:03:09 +02:00
uvd_v7_0.h
vangogh_reg_init.c drm/amdgpu: add vangogh_reg_base_init function for van gogh 2020-10-05 15:14:02 -04:00
vce_v2_0.c drm/amdgpu: add the sched_score to amdgpu_ring_init 2021-04-09 16:44:56 -04:00
vce_v2_0.h
vce_v3_0.c drm/amdgpu: add the sched_score to amdgpu_ring_init 2021-04-09 16:44:56 -04:00
vce_v3_0.h
vce_v4_0.c drm/amdgpu: Guard against write accesses after device removal 2021-05-19 23:50:28 -04:00
vce_v4_0.h
vcn_v1_0.c drm/amd/amdgpu/vcn_v1_0: Fix some function naming disparity 2021-05-21 10:32:20 -04:00
vcn_v1_0.h drm/amdgpu: vcn and jpeg ring synchronization 2020-10-14 15:27:50 -04:00
vcn_v2_0.c drm/amdgpu/vcn2.0: add cancel_delayed_work_sync before power gate 2021-05-21 10:32:10 -04: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_v2_5.c drm/amdgpu/vcn2.5: add cancel_delayed_work_sync before power gate 2021-05-21 10:32:10 -04:00
vcn_v2_5.h drm/amdgpu/vcn2.6: Add vcn2.6 support 2021-03-23 22:53:17 -04:00
vcn_v3_0.c drm/amd/amdgpu: Use IP discovery data to determine VCN enablement instead of MMSCH 2021-06-18 17:14:01 -04: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 Merge drm/drm-next into drm-misc-next 2021-05-22 07:17:05 +02: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_ih.c drm/amdgpu: Handle IOMMU enabled case. 2021-05-19 23:50:27 -04:00
vega20_ih.h drm/amdgpu: create vega20 ih blocks 2020-12-23 15:05:35 -05:00
vega20_reg_init.c drm/amdgpu: Delete useless header file reference 2019-10-03 09:11:05 -05:00
vi.c drm/amd/pm: enable ASPM by default 2021-05-19 22:29:30 -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
yellow_carp_reg_init.c drm/amdgpu: add yellow_carp_reg_base_init function for yellow carp (v2) 2021-06-04 16:03:06 -04:00