linux/drivers/gpu/drm/amd/amdgpu
Dan Carpenter 8df1a28f41 drm/amdgpu: Fix a buffer overflow handling the serial number
The comments say that the serial number is a 16-digit HEX string so the
buffer needs to be at least 17 characters to hold the NUL terminator.

The other issue is that "size" returned from sprintf() is the number of
characters before the NUL terminator so the memcpy() wasn't copying the
terminator.  The serial number needs to be NUL terminated so that it
doesn't lead to a read overflow in amdgpu_device_get_serial_number().
Also it's just cleaner and faster to sprintf() directly to adev->serial[]
instead of using a temporary buffer.

Fixes: 81a1624111 ("drm/amdgpu: Add unique_id and serial_number for Arcturus v3")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
2020-07-01 01:59:19 -04:00
..
amdgpu_acp.c drm/amdgpu: remove unnecessary conversion to bool 2020-01-22 16:55:27 -05:00
amdgpu_acp.h
amdgpu_acpi.c drm/amdgpu: simplify ATIF backlight handling 2020-05-28 14:00:49 -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 AMD KFD: Use fallthrough; 2020-03-13 11:52:35 -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/amdkfd: Make get_tile_config() generic 2020-02-28 16:59:20 -05:00
amdgpu_amdkfd_gfx_v8.c drm/amdkfd: Make get_tile_config() generic 2020-02-28 16:59:20 -05:00
amdgpu_amdkfd_gfx_v9.c drm/amdkfd Avoid destroy hqd when GPU is on reset 2020-04-09 10:43:15 -04:00
amdgpu_amdkfd_gfx_v9.h drm/amdkfd: Make get_tile_config() generic 2020-02-28 16:59:20 -05:00
amdgpu_amdkfd_gfx_v10_3.c drm/amdkfd: Support Sienna_Cichlid KFD v4 2020-07-01 01:59:11 -04:00
amdgpu_amdkfd_gfx_v10.c drm/amdkfd Avoid destroy hqd when GPU is on reset 2020-04-09 10:43:15 -04:00
amdgpu_amdkfd_gpuvm.c drm/amdkfd: fix restore worker race condition 2020-05-21 17:59:45 -04:00
amdgpu_amdkfd.c drm/amdkfd: Put ASIC revision into HSA capability 2020-04-28 11:04:56 -04:00
amdgpu_amdkfd.h drm/amdkfd: Use a systematic method to calculate queue mask bit 2020-05-01 15:19:08 -04:00
amdgpu_atombios.c drm/amdgpu: remove unnecessary check for mem train 2020-07-01 01:59:14 -04:00
amdgpu_atombios.h
amdgpu_atomfirmware.c drm/amdgpu: remove unnecessary check for mem train 2020-07-01 01:59:14 -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 Revert "drm/amdgpu: simplify ATPX detection" 2020-01-07 11:55:56 -05: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 PCI: Use ioremap(), not phys_to_virt() for platform ROM 2020-03-30 09:52:23 -05:00
amdgpu_bo_list.c drm/amdgpu: fix error handling in amdgpu_bo_list_create 2019-10-17 17:12:34 -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/display: split dp connector registration (v4) 2020-02-26 14:21:13 -05:00
amdgpu_connectors.h
amdgpu_cs.c drm/amdgpu: remove set but not used variable 'priority' 2020-04-30 16:48:55 -04:00
amdgpu_csa.c drm/ttm: always keep BOs on the LRU 2019-10-25 11:40:50 +02:00
amdgpu_csa.h drm/amdgpu: Change AMDGPU_CSA_SIZE to 128K 2018-11-05 14:21:50 -05:00
amdgpu_ctx.c drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -04:00
amdgpu_ctx.h drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -04:00
amdgpu_debugfs.c drm/amdgpu: Add autodump debugfs node for gpu reset v8 2020-05-18 11:23:37 -04: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/amd: correct trivial kernel-doc inconsistencies 2020-07-01 01:59:19 -04:00
amdgpu_df.h drm/amdgpu: use node_id and node_size to calcualte dram_base_address 2020-05-08 14:32:10 -04:00
amdgpu_discovery.c drm/amdgpu: re-structue members for ip discovery 2020-05-01 15:19:07 -04:00
amdgpu_discovery.h drm/amdgpu: adjust sequence of ip_discovery init and timeout_setting 2020-04-01 14:44:43 -04:00
amdgpu_display.c drm/amdgpu: add apu flags (v2) 2020-05-22 13:41:53 -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: add support for exporting VRAM using DMA-buf v3 2020-04-01 09:02:45 +02:00
amdgpu_dma_buf.h drm/amdgpu: add independent DMA-buf import v9 2019-10-28 16:59:43 +01:00
amdgpu_doorbell.h drm/amdgpu: assign the doorbell index to mes ring 2020-07-01 01:59:07 -04:00
amdgpu_dpm.c drm/amd/powerplay: remove the support of xgmi pstate on vega20 from swsmu 2020-05-28 14:00:49 -04:00
amdgpu_dpm.h drm/amdgpu: fix device attribute node create failed with multi gpu 2020-05-26 15:51:45 -04:00
amdgpu_drv.c drm/amd/amdgpu: handle return value of amdgpu_driver_load_kms 2020-07-01 01:59:18 -04:00
amdgpu_drv.h
amdgpu_encoders.c drm/amdgpu: Iterate through DRM connectors correctly 2019-10-03 09:11:05 -05:00
amdgpu_fb.c drm/amdgpu: force fbdev into vram 2020-05-06 16:51:25 -04:00
amdgpu_fence.c drm/amdgpu/fence: use the no_scheduler flag 2020-07-01 01:59:16 -04:00
amdgpu_fru_eeprom.c drm/amdgpu/fru: fix header guard and include header 2020-05-29 13:55:08 -04:00
amdgpu_fru_eeprom.h drm/amdgpu/fru: fix header guard and include header 2020-05-29 13:55:08 -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 drm/amdgpu: Added a few comments for gart 2018-11-05 14:21:16 -05:00
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 Merge tag 'amd-drm-next-5.8-2020-04-30' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-05-08 13:31:08 +10:00
amdgpu_gem.h drm/amdgpu: cleanup mtype mapping 2019-09-16 09:59:21 -05:00
amdgpu_gfx.c drm/amdgpu: Rename amdgpu_gfx_kcq_queue_mask_transform() 2020-05-01 15:19:07 -04:00
amdgpu_gfx.h drm/amdgpu: add gfx ip block for sienna_cichlid (v3) 2020-06-03 13:52:03 -04:00
amdgpu_gmc.c drm/amdgpu: skip VM inv eng assignment for mes ring 2020-07-01 01:59:11 -04:00
amdgpu_gmc.h drm/amdgpu: implement TMZ accessor (v3) 2020-04-28 16:20:29 -04:00
amdgpu_gtt_mgr.c drm/amd: correct trivial kernel-doc inconsistencies 2020-07-01 01:59:19 -04:00
amdgpu_i2c.c drm/amd: drop use of drmP.h in amdgpu/amdgpu* 2019-06-10 23:02:48 +02:00
amdgpu_i2c.h
amdgpu_ib.c drm/amdgpu: Add a UAPI flag for user to call mem_sync 2020-05-18 11:24:21 -04:00
amdgpu_ids.c drm/amdgpu: rename direct to immediate for VM updates 2020-04-28 16:20:30 -04:00
amdgpu_ids.h dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +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/amd/amdgpu: remove hardcoded module name in prints 2020-04-13 12:02:40 -04: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/amdgpu: remove set but not used variable 'priority' 2020-04-23 15:06:41 -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: implement more ib pools (v2) 2020-04-01 14:44:44 -04:00
amdgpu_jpeg.h drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -04:00
amdgpu_kms.c drm/amdgpu: disable runtime pm for sienna_cichlid temporarily 2020-07-01 01:59:13 -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 reset_ras_error_count function for MMHUB 2020-03-05 00:32:40 -05: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: Convert to struct drm_crtc_helper_funcs.get_scanout_position() 2020-02-13 13:08:13 +01: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 drm/amdgpu: expand amdgpu_copy_buffer interface with tmz parameter 2020-04-28 16:20:29 -04:00
amdgpu_object.h drm/amdgpu: set TMZ bits in PTEs for secure BO (v4) 2020-04-28 16:20:29 -04: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_pm.c drm/amd/powerplay: drop unused code around power limit 2020-07-01 01:59:18 -04:00
amdgpu_pm.h drm/amdgpu: fix device attribute node create failed with multi gpu 2020-05-26 15:51:45 -04:00
amdgpu_pmu.c drm/amdgpu: fix amdgpu pmu to use hwc->config instead of hwc->conf 2020-02-11 15:35:54 -05:00
amdgpu_pmu.h drm/amdgpu: add pmu counters 2019-06-20 11:36:22 -05:00
amdgpu_psp.c drm/amdgpu/psp: support for loading PSP SPL fw 2020-07-01 01:59:13 -04:00
amdgpu_psp.h drm/amdgpu/psp: support for loading PSP SPL fw 2020-07-01 01:59:13 -04:00
amdgpu_ras_eeprom.c drm/amdgpu: Move EEPROM I2C adapter to amdgpu_device 2020-03-16 16:21:32 -04:00
amdgpu_ras_eeprom.h drm/amdgpu: Move EEPROM I2C adapter to amdgpu_device 2020-03-16 16:21:32 -04:00
amdgpu_ras.c drm/amdgpu: remove useless code in RAS 2020-06-02 16:47:43 -04:00
amdgpu_ras.h drm/amdgpu: disable ras query and iject during gpu reset 2020-04-01 14:44:42 -04:00
amdgpu_ring.c drm/amdgpu/ring: simplify scheduler setup logic 2020-04-13 12:02:26 -04:00
amdgpu_ring.h drm/amdgpu: add the ring type definition of MES 2020-07-01 01:59:07 -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: revise RLCG access path 2020-03-16 16:17:55 -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/amd: drop use of drmP.h in amdgpu.h 2019-06-10 22:59:53 +02:00
amdgpu_sched.h drm/amd: drop use of drmP.h from all header files 2019-06-10 23:00:08 +02: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: partial revert VM sync changes 2020-04-28 16:20:30 -04:00
amdgpu_sync.h drm/amdgpu: rework job synchronization v2 2020-02-04 23:30:39 -05: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: support access regs outside of mmio bar 2020-04-09 10:43:18 -04:00
amdgpu_ttm.c drm/amdgpu: bypass tmr when reserve c2p memory 2020-07-01 01:59:14 -04:00
amdgpu_ttm.h Merge tag 'amd-drm-next-5.8-2020-04-30' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-05-08 13:31:08 +10:00
amdgpu_ucode.c drm/amdgpu/psp: initialization PSP SPL fw 2020-07-01 01:59:13 -04:00
amdgpu_ucode.h drm/amdgpu/psp: add structure to support PSP SPL 2020-07-01 01:59:13 -04:00
amdgpu_umc.c drm/amdgpu: refine ras related message print 2020-04-13 12:01:50 -04:00
amdgpu_umc.h drm/amdgpu: resolve bug in UMC 6 error counter query 2020-01-07 11:58:37 -05:00
amdgpu_uvd.c drm/amdgpu: cleanup IB pool handling a bit 2020-04-28 16:20:30 -04:00
amdgpu_uvd.h drm/amd:Enable/Disable NBPSTATE on On/OFF of UVD 2018-11-26 15:47:34 -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: set indirect sram mode for VCN3.0 2020-07-01 01:59:12 -04:00
amdgpu_vcn.h drm/amdgpu: rename macro for VCN2.0 2.5 and 3.0 2020-07-01 01:59:12 -04:00
amdgpu_vf_error.c
amdgpu_vf_error.h
amdgpu_virt.c drm/amdgpu: support reserve bad page for virt (v3) 2020-07-01 01:59:17 -04:00
amdgpu_virt.h drm/amdgpu: support reserve bad page for virt (v3) 2020-07-01 01:59:17 -04:00
amdgpu_vm_cpu.c drm/amdgpu: rename direct to immediate for VM updates 2020-04-28 16:20:30 -04:00
amdgpu_vm_sdma.c drm/amdgpu: add new unlocked flag for PTE updates 2020-04-28 16:20:30 -04:00
amdgpu_vm.c drm/amdgpu: restrict bo mapping within gpu address limits 2020-06-03 13:51:38 -04:00
amdgpu_vm.h drm/amdgpu: add new unlocked flag for PTE updates 2020-04-28 16:20:30 -04:00
amdgpu_vram_mgr.c drm/amd: correct trivial kernel-doc inconsistencies 2020-07-01 01:59:19 -04:00
amdgpu_xgmi.c drm/amdgpu fix incorrect sysfs remove behavior for xgmi 2020-05-21 12:48:42 -04:00
amdgpu_xgmi.h drm/amdgpu: fix race between pstate and remote buffer map 2020-04-22 18:11:46 -04:00
amdgpu.h drm/amdgpu: Fix a buffer overflow handling the serial number 2020-07-01 01:59:19 -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: remove unnecessary conversion to bool 2020-01-22 16:55:27 -05:00
athub_v1_0.h drm/amdgpu: split athub clock gating from mmhub 2019-08-12 12:47:48 -05: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
athub_v2_1.c drm/amdgpu: add support for athub v2.1 2020-07-01 01:59:07 -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: increased atom cmd timeout 2020-04-09 10:43:33 -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/amd: drop use of drmP.h in remaining files 2019-06-10 23:04:34 +02:00
atombios_crtc.h
atombios_dp.c drm/amdgpu/display: split dp connector registration (v4) 2020-02-26 14:21:13 -05:00
atombios_dp.h
atombios_encoders.c drm/amd: drop use of drmP.h in remaining files 2019-06-10 23:04:34 +02:00
atombios_encoders.h
atombios_i2c.c drm/amdgpu: remove always false comparison in 'amdgpu_atombios_i2c_process_i2c_ch' 2019-11-13 15:29:44 -05:00
atombios_i2c.h
cik_dpm.h drm/amdgpu: remove old CI DPM implementation 2019-01-25 16:15:36 -05:00
cik_ih.c drm/amd: drop use of drmP.h in remaining files 2019-06-10 23:04:34 +02:00
cik_ih.h
cik_sdma.c drm/amdgpu: expand sdma copy_buffer interface with tmz parameter 2020-04-28 16:20:29 -04:00
cik_sdma.h
cik.c drm/amdgpu: fix wrong vram lost counter increment V2 2020-04-13 12:07:09 -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: apply AMDGPU_IB_FLAG_EMIT_MEM_SYNC to compute IBs too (v3) 2020-05-18 11:24:21 -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/amd: drop use of drmP.h in remaining files 2019-06-10 23:04:34 +02:00
cz_ih.h
dce_v6_0.c drm/amdgpu: replace indirect mmio access in non-dc code path 2020-04-09 10:43:18 -04:00
dce_v6_0.h
dce_v8_0.c drm/amdgpu: replace indirect mmio access in non-dc code path 2020-04-09 10:43:18 -04:00
dce_v8_0.h
dce_v10_0.c drm/amdgpu: replace indirect mmio access in non-dc code path 2020-04-09 10:43:18 -04:00
dce_v10_0.h
dce_v11_0.c drm/amdgpu: simplify CZ/ST and KV/KB/ML checks 2020-05-28 14:00:49 -04:00
dce_v11_0.h
dce_virtual.c drm/amdgpu: disble vblank when unloading sriov driver 2020-04-22 18:11:49 -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: use node_id and node_size to calcualte dram_base_address 2020-05-08 14:32:10 -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: apply AMDGPU_IB_FLAG_EMIT_MEM_SYNC to compute IBs too (v3) 2020-05-18 11:24:21 -04:00
gfx_v7_0.h
gfx_v8_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_v8_0.h
gfx_v9_0.c drm/amdgpu: simplify raven and renoir checks 2020-05-28 14:00:49 -04:00
gfx_v9_0.h
gfx_v9_4.c drm/amdgpu: replace DRM prefix with PCI device info for gfx/mmhub 2020-04-22 18:11:49 -04:00
gfx_v9_4.h drm/amdgpu: add reset_ras_error_count function for GFX 2020-03-05 00:32:47 -05:00
gfx_v10_0.c drm/amdgpu: update golden setting for sienna_cichlid 2020-07-01 01:59:13 -04:00
gfx_v10_0.h drm/amdgpu: add gfx v10 implementation (v10) 2019-06-21 18:59:23 -05:00
gfxhub_v1_0.c drm/amdgpu: add apu flags (v2) 2020-05-22 13:41:53 -04:00
gfxhub_v1_0.h drm/amdgpu/amdkfd: clean up mmhub and gfxhub includes 2018-11-05 14:21:24 -05:00
gfxhub_v1_1.c drm/amdgpu: Added ASIC specific checks in gfxhub V1.1 get XGMI info 2019-12-03 11:52:11 -05:00
gfxhub_v1_1.h drm/amdgpu/gmc9: add a new gfxhub 1.1 helper for xgmi 2018-09-10 22:46:22 -05:00
gfxhub_v2_0.c drm/amdgpu/gmc10: program the smallK fragment size 2020-05-28 17:47:50 -04:00
gfxhub_v2_0.h drm/amdgpu: Export setup_vm_pt_regs() logic for gfxhub 2.0 2019-10-03 09:11:04 -05:00
gfxhub_v2_1.c drm/amdgpu: add support gfxhub for sienna_cichlid (v3) 2020-06-03 13:52:01 -04:00
gfxhub_v2_1.h drm/amdgpu: add support gfxhub for sienna_cichlid (v3) 2020-06-03 13:52:01 -04:00
gmc_v6_0.c drm/amd/amdgpu: remove defined but not used 'crtc_offsets' 2020-05-11 18:04:09 -04:00
gmc_v6_0.h
gmc_v7_0.c drm/amdgpu: Add missing parameter description in comments 2020-05-01 10:00:26 -04:00
gmc_v7_0.h
gmc_v8_0.c drm/amdgpu: Add missing parameter description in comments 2020-05-01 10:00:26 -04:00
gmc_v8_0.h
gmc_v9_0.c drm/amdgpu: add apu flags (v2) 2020-05-22 13:41:53 -04:00
gmc_v9_0.h drm/amdgpu/gmc: move invaliation bitmap setup to common code 2020-01-07 12:03:42 -05:00
gmc_v10_0.c drm/amdgpu/sriov : Use kiq to do tlb invalidation for gfx10 on sriov 2020-07-01 01:59: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/amd: drop use of drmP.h in remaining files 2019-06-10 23:04:34 +02:00
iceland_ih.h
iceland_sdma_pkt_open.h
jpeg_v1_0.c drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -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: rework sched_list generation 2020-04-09 10:43:14 -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: Remove JPEG_ENC_MASK from clock ungating 2020-05-21 12:46:51 -04:00
jpeg_v2_5.h drm/amdgpu: move JPEG2.5 out from VCN2.5 2019-11-19 10:12:50 -05:00
jpeg_v3_0.c drm/amdgpu: fix typo for vcn3/jpeg3 idle check 2020-07-01 01:59:11 -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: fix license on Kconfig and Makefiles 2019-12-11 15:22:08 -05:00
kv_dpm.c drm/amd: drop use of drmP.h in remaining files 2019-06-10 23:04:34 +02:00
kv_dpm.h
kv_smc.c drm/amd: drop use of drmP.h in remaining files 2019-06-10 23:04:34 +02:00
Makefile drm/amdkfd: Support Sienna_Cichlid KFD v4 2020-07-01 01:59:11 -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/mes10.1: add no scheduler flag for mes 2020-07-01 01:59:12 -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: add apu flags (v2) 2020-05-22 13:41:53 -04:00
mmhub_v1_0.h drm/amdgpu: add amdgpu_mmhub_funcs definition 2019-08-12 12:47:48 -05:00
mmhub_v2_0.c drm/amdgpu: add gmc cg support for sienna_cichlid 2020-07-01 01:59:07 -04:00
mmhub_v2_0.h drm/amdgpu: Export setup_vm_pt_regs() logic for mmhub 2.0 2019-10-03 09:11:05 -05:00
mmhub_v9_4.c drm/amdgpu: update RAS related dmesg print 2020-04-09 10:43:15 -04:00
mmhub_v9_4.h drm/amdkfd: Contain MMHUB number in mmhub_v9_4_setup_vm_pt_regs() 2019-12-03 11:08:24 -05: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
mxgpu_ai.c drm/amdgpu: use true, false for bool variable in mxgpu_ai.c 2019-12-23 15:00:00 -05: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: use static mmio offset for NV mailbox 2020-04-01 14:44:43 -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: add ih ip block for sienna_cichlid 2020-06-03 13:52:02 -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 11:50:46 -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_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
nbio_v7_4.c drm/amdgpu: refine ras related message print 2020-04-13 12:01:50 -04:00
nbio_v7_4.h drm/amdgpu: switch to new amdgpu_nbio structure 2019-09-13 17:11:03 -05:00
nv.c drm/amdgpu: Enable DM block for DCN3 2020-07-01 01:59:15 -04:00
nv.h drm/amdgpu: initialize IP offset for sienna_cichlid (v2) 2020-06-03 13:52:00 -04:00
nvd.h drm/amdgpu: Add AQUIRE_MEM PACKET3 fields defintion 2020-05-14 16:42:43 -04:00
ObjectID.h drm/amdgpu: Add BRACKET_LAYOUT_ENUMs to ObjectID.h 2018-06-15 12:20:42 -05:00
ppsmc.h
psp_gfx_if.h Revert "drm/amdgpu: add CAP fw loading" 2020-03-25 16:58:40 -04:00
psp_v3_1.c drm/amdgpu: retire legacy vega10 sos version check 2020-04-23 15:41:06 -04: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/amdgpu/psp: support for loading PSP SPL fw 2020-07-01 01:59:13 -04:00
psp_v11_0.h drm/amdgpu: Add psp 11.0 support for vega20. (v2) 2018-08-27 11:10:34 -05:00
psp_v12_0.c drm/amdgpu: switch to helper function to init asd ucode 2020-04-23 15:40:46 -04:00
psp_v12_0.h drm/amdgpu: add psp_v12_0 for renoir (v2) 2019-08-12 12:47:50 -05:00
r600_dpm.h
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/sdma4: simplify the logic around powering up sdma 2020-05-28 14:00:49 -04:00
sdma_v4_0.h
sdma_v5_0.c drm/amdgpu: add sdma ip block for sienna_cichlid (v5) 2020-06-03 13:52:04 -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: fix SDMA hdp flush engine conflict 2020-07-01 01:59:10 -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/amdgpu: expand sdma copy_buffer interface with tmz parameter 2020-04-28 16:20:29 -04:00
si_dma.h
si_dpm.c Revert "drm/[radeon|amdgpu]: Replace one-element array and use struct_size() helper" 2020-07-01 01:59:16 -04:00
si_dpm.h drm/radeon/dpm: Replace one-element array and use struct_size() helper 2020-05-28 14:00:50 -04:00
si_enums.h drm/amdgpu: enable ABGR and XBGR formats (v2) 2018-08-27 11:10:19 -05:00
si_ih.c drm/amdgpu: fix bad DMA from INTERRUPT_CNTL2 2019-11-22 14:35:10 -05:00
si_ih.h
si_smc.c drm/amd: drop use of drmP.h in remaining files 2019-06-10 23:04:34 +02:00
si.c drm/amdgpu: cleanup all virtualization detection routine 2020-04-01 14:44:42 -04:00
si.h
sid.h drm/amdgpu: enable ABGR and XBGR formats (v2) 2018-08-27 11:10:19 -05:00
sienna_cichlid_reg_init.c drm/amdgpu: initialize IP offset for sienna_cichlid (v2) 2020-06-03 13:52:00 -04:00
sislands_smc.h Revert "drm/[radeon|amdgpu]: Replace one-element array and use struct_size() helper" 2020-07-01 01:59:16 -04:00
smu_v11_0_i2c.c drm/amdgpu: Move EEPROM I2C adapter to amdgpu_device 2020-03-16 16:21:32 -04:00
smu_v11_0_i2c.h drm/amdgpu: Vega20 SMU I2C HW engine controller. 2019-08-27 09:17:35 -05:00
soc15_common.h drm/amdgpu: provide RREG32_SOC15_NO_KIQ, will be used later 2020-04-24 11:42:11 -04:00
soc15.c drm/amdgpu/soc15: fix nullptr issue in soc15_read_register() for reg base accessing 2020-07-01 01:59:18 -04:00
soc15.h drm/amdgpu: revise RLCG access path 2020-03-16 16:17:55 -04:00
soc15d.h drm/amdgpu: Add AQUIRE_MEM PACKET3 fields defintion 2020-05-14 16:42:43 -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/amd: drop use of drmP.h in remaining files 2019-06-10 23:04:34 +02: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: decouple EccErrCnt query and clear operation 2020-04-27 15:52:10 -04:00
umc_v6_1.h drm/amdgpu: Added RAS UMC error query support for Arcturus 2019-12-11 15:22:07 -05:00
uvd_v4_2.c drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -04:00
uvd_v4_2.h
uvd_v5_0.c drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -04:00
uvd_v5_0.h
uvd_v6_0.c drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -04:00
uvd_v6_0.h
uvd_v7_0.c drm/amdgpu: rework sched_list generation 2020-04-09 10:43:14 -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: rework sched_list generation 2020-04-09 10:43:14 -04:00
vce_v4_0.h
vcn_v1_0.c drm/amdgpu: rename macro for VCN1.0 2020-07-01 01:59:12 -04:00
vcn_v1_0.h drm/amdgpu/vcn1.0: use its own idle handler and begin use funcs 2019-12-18 16:09:07 -05:00
vcn_v2_0.c drm/amdgpu: rename macro for VCN2.0 2.5 and 3.0 2020-07-01 01:59:12 -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: rename macro for VCN2.0 2.5 and 3.0 2020-07-01 01:59:12 -04:00
vcn_v2_5.h drm/amdgpu: enable VCN2.5 on Arcturus 2019-07-18 14:18:05 -05:00
vcn_v3_0.c drm/amdgpu/vcn3.0: schedule instance 0 for decode and 1 for encode 2020-07-01 01:59:12 -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 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: fix wrong vram lost counter increment V2 2020-04-13 12:07:09 -04:00
vi.h drm/amd/powerplay: cover the powerplay implementation details V3 2020-01-14 10:18:08 -05:00
vid.h drm/amdgpu: apply AMDGPU_IB_FLAG_EMIT_MEM_SYNC to compute IBs too (v3) 2020-05-18 11:24:21 -04:00