linux_dsm_epyc7002/drivers/gpu/drm/amd/amdgpu
Kevin Wang 987ed8e938 drm/amdgpu: fix hpd bo size calculation error
the HPD bo size calculation error.
the "mem.size" can't present actual BO size all time.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <Christian.Koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-31 12:26:14 -04:00
..
amdgpu_acp.c
amdgpu_acp.h
amdgpu_acpi.c
amdgpu_afmt.c
amdgpu_amdkfd_arcturus.c AMD KFD: Use fallthrough; 2020-03-13 11:52:35 -04:00
amdgpu_amdkfd_fence.c
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: Make get_tile_config() generic 2020-02-28 16:59:20 -05: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.c drm/amdkfd: Make get_tile_config() generic 2020-02-28 16:59:20 -05:00
amdgpu_amdkfd_gpuvm.c drm/amdkfd: Consolidate duplicated bo alloc flags 2020-03-10 15:54:34 -04:00
amdgpu_amdkfd.c drm/amdkfd: Consolidate duplicated bo alloc flags 2020-03-10 15:54:34 -04:00
amdgpu_amdkfd.h drm/amdkfd: Make get_tile_config() generic 2020-02-28 16:59:20 -05:00
amdgpu_atombios.c
amdgpu_atombios.h
amdgpu_atomfirmware.c
amdgpu_atomfirmware.h
amdgpu_atpx_handler.c
amdgpu_benchmark.c
amdgpu_bios.c
amdgpu_bo_list.c
amdgpu_bo_list.h
amdgpu_cgs.c
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 Merge tag 'amd-drm-next-5.7-2020-03-10' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-03-13 09:09:11 +10:00
amdgpu_csa.c
amdgpu_csa.h
amdgpu_ctx.c drm/amdgpu: disable gpu_sched load balancer for vcn jobs 2020-03-16 16:21:32 -04:00
amdgpu_ctx.h drm/amdgpu: allocate entities on demand 2020-01-30 17:15:42 -05:00
amdgpu_debugfs.c drm/amdgpu: revise RLCG access path 2020-03-16 16:17:55 -04:00
amdgpu_debugfs.h drm/amdgpu: no need to clean debugfs at amdgpu 2020-02-28 16:59:22 -05:00
amdgpu_device.c drm/amdgpu: protect RAS sysfs during GPU reset 2020-03-20 10:45:00 -04:00
amdgpu_df.h
amdgpu_discovery.c drm/amdgpu/discovery: make the discovery code less chatty 2020-02-25 11:01:25 -05:00
amdgpu_discovery.h
amdgpu_display.c Linux 5.6-rc2 2020-02-17 10:34:34 +01:00
amdgpu_display.h
amdgpu_dma_buf.c dma-buf: drop dynamic_mapping flag 2020-02-27 14:58:01 +01:00
amdgpu_dma_buf.h
amdgpu_doorbell.h
amdgpu_dpm.c drm/amdgpu: add dpm helper function for DF Cstate control 2020-02-26 14:17:32 -05:00
amdgpu_dpm.h drm/amdgpu: Move EEPROM I2C adapter to amdgpu_device 2020-03-16 16:21:32 -04:00
amdgpu_drv.c drm/amdgpu: Enter low power state if CRTC active. 2020-03-09 13:50:52 -04:00
amdgpu_drv.h
amdgpu_encoders.c
amdgpu_fb.c drm: Remove drm_fb_helper add, add all and remove connector calls 2020-03-06 14:19:58 +01:00
amdgpu_fence.c drm/amdgpu/fence: move debugfs init into core amdgpu debugfs 2020-02-26 14:21:12 -05:00
amdgpu_gart.c
amdgpu_gart.h
amdgpu_gds.h
amdgpu_gem.c
amdgpu_gem.h
amdgpu_gfx.c drm/amdgpu: call ras_debugfs_create_all in debugfs_init 2020-03-10 15:55:11 -04:00
amdgpu_gfx.h drm/amdgpu: set compute queue priority at mqd_init 2020-03-09 13:51:24 -04:00
amdgpu_gmc.c
amdgpu_gmc.h amdgpu/gmc_v9: save/restore sdpif regs during S3 2020-02-25 11:30:42 -05:00
amdgpu_gtt_mgr.c
amdgpu_i2c.c
amdgpu_i2c.h
amdgpu_ib.c drm/amdgpu/sa: move debugfs init into core amdgpu debugfs 2020-02-26 14:21:12 -05:00
amdgpu_ids.c
amdgpu_ids.h
amdgpu_ih.c
amdgpu_ih.h
amdgpu_ioc32.c
amdgpu_irq.c
amdgpu_irq.h
amdgpu_job.c drm/amdgpu: set compute queue priority at mqd_init 2020-03-09 13:51:24 -04:00
amdgpu_job.h
amdgpu_jpeg.c
amdgpu_jpeg.h
amdgpu_kms.c drm/amdgpu/runpm: disable runpm on Vega10 2020-03-10 15:55:18 -04:00
amdgpu_mes.h
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
amdgpu_mn.h
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
amdgpu_object.c Merge tag 'amd-drm-next-5.7-2020-03-10' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-03-13 09:09:11 +10:00
amdgpu_object.h drm/amdgpu/sa: move debugfs init into core amdgpu debugfs 2020-02-26 14:21:12 -05:00
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pm.c drm/amdgpu/swSMU: handle manual AC/DC notifications 2020-03-25 17:00:11 -04:00
amdgpu_pm.h drm/amdgpu/pm: move debugfs init into core amdgpu debugfs 2020-02-26 14:21:12 -05: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
amdgpu_psp.c Revert "drm/amdgpu: add CAP fw loading" 2020-03-25 16:58:40 -04:00
amdgpu_psp.h Revert "drm/amdgpu: add CAP fw loading" 2020-03-25 16:58:40 -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: protect RAS sysfs during GPU reset 2020-03-20 10:45:00 -04:00
amdgpu_ras.h drm/amdgpu: add function to creat all ras debugfs node 2020-03-10 15:55:02 -04:00
amdgpu_ring.c drm/amdgpu: remove unused functions 2020-03-09 13:51:48 -04:00
amdgpu_ring.h drm/amdgpu: remove unused functions 2020-03-09 13:51:48 -04:00
amdgpu_rlc.c
amdgpu_rlc.h drm/amdgpu: revise RLCG access path 2020-03-16 16:17:55 -04:00
amdgpu_sa.c
amdgpu_sched.c
amdgpu_sched.h
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: add reset_ras_error_count function for SDMA 2020-03-05 00:32:32 -05:00
amdgpu_socbb.h
amdgpu_sync.c drm/amdgpu: rework synchronization of VM updates v4 2020-02-04 23:30:39 -05:00
amdgpu_sync.h drm/amdgpu: rework job synchronization v2 2020-02-04 23:30:39 -05:00
amdgpu_test.c
amdgpu_trace_points.c
amdgpu_trace.h
amdgpu_ttm.c Linux 5.6 2020-03-31 15:15:47 +10:00
amdgpu_ttm.h drm/amdgpu: no need to clean debugfs at amdgpu 2020-02-28 16:59:22 -05:00
amdgpu_ucode.c
amdgpu_ucode.h Revert "drm/amdgpu: add CAP fw loading" 2020-03-25 16:58:40 -04:00
amdgpu_umc.c drm/amdgpu: call ras_debugfs_create_all in debugfs_init 2020-03-10 15:55:11 -04:00
amdgpu_umc.h
amdgpu_uvd.c drm/amdgpu: rework job synchronization v2 2020-02-04 23:30:39 -05:00
amdgpu_uvd.h
amdgpu_vce.c drm/amd/amdgpu: fix spelling mistake "to" -> "too" 2020-01-27 16:46:45 -05:00
amdgpu_vce.h
amdgpu_vcn.c drm/amdgpu: cleanup ring/ib test for SRIOV vcn2.0 (v2) 2020-03-06 14:40:30 -05:00
amdgpu_vcn.h drm/amdgpu/vcn2.5: fix DPG mode power off issue on instance 1 2020-02-11 15:10:36 -05:00
amdgpu_vf_error.c
amdgpu_vf_error.h
amdgpu_virt.c
amdgpu_virt.h drm/amdgpu: revise RLCG access path 2020-03-16 16:17:55 -04:00
amdgpu_vm_cpu.c drm/amdgpu: rework synchronization of VM updates v4 2020-02-04 23:30:39 -05:00
amdgpu_vm_sdma.c drm_amdgpu: Add job fence to resv conditionally 2020-03-16 16:21:32 -04:00
amdgpu_vm.c drm/amdgpu: miss PRT case when bo update 2020-03-19 00:03:04 -04:00
amdgpu_vm.h drm_amdgpu: Add job fence to resv conditionally 2020-03-16 16:21:32 -04:00
amdgpu_vram_mgr.c
amdgpu_xgmi.c drm/amdgpu: call ras_debugfs_create_all in debugfs_init 2020-03-10 15:55:11 -04:00
amdgpu_xgmi.h drm/amdgpu: add helper funcs to detect PCS error 2020-03-06 14:31:28 -05:00
amdgpu.h drm/amdgpu: revise RLCG access path 2020-03-16 16:17:55 -04:00
arct_reg_init.c
athub_v1_0.c
athub_v1_0.h
athub_v2_0.c
athub_v2_0.h
atom.c drm/amdgpu: increase atombios cmd timeout 2020-03-06 14:31:51 -05:00
atom.h
atombios_crtc.c
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
atombios_encoders.h
atombios_i2c.c
atombios_i2c.h
cik_dpm.h
cik_ih.c
cik_ih.h
cik_sdma.c
cik_sdma.h
cik.c
cik.h
cikd.h
clearstate_ci.h
clearstate_defs.h
clearstate_gfx9.h
clearstate_gfx10.h
clearstate_si.h
clearstate_vi.h
cz_ih.c
cz_ih.h
dce_v6_0.c drm/amdgpu: Convert to CRTC VBLANK callbacks 2020-02-13 13:08:13 +01:00
dce_v6_0.h
dce_v8_0.c drm/amdgpu: Convert to CRTC VBLANK callbacks 2020-02-13 13:08:13 +01:00
dce_v8_0.h
dce_v10_0.c drm/amdgpu: Convert to CRTC VBLANK callbacks 2020-02-13 13:08:13 +01:00
dce_v10_0.h
dce_v11_0.c drm/amdgpu: Convert to CRTC VBLANK callbacks 2020-02-13 13:08:13 +01:00
dce_v11_0.h
dce_virtual.c Merge tag 'amd-drm-next-5.7-2020-02-26' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-02-28 15:40:26 +10:00
dce_virtual.h
df_v1_7.c
df_v1_7.h
df_v3_6.c
df_v3_6.h
emu_soc.c
gfx_v6_0.c
gfx_v6_0.h
gfx_v7_0.c drm/amdgpu: Initialize SPM_VMID with 0xf (v2) 2020-02-28 16:59:21 -05:00
gfx_v7_0.h
gfx_v8_0.c drm/amdgpu: remove unused functions 2020-03-09 13:51:48 -04:00
gfx_v8_0.h
gfx_v9_0.c drm/amdgpu: fix hpd bo size calculation error 2020-03-31 12:26:14 -04:00
gfx_v9_0.h
gfx_v9_4.c drm/amdgpu: check GFX RAS capability before reset counters 2020-03-13 11:52:33 -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: fix hpd bo size calculation error 2020-03-31 12:26:14 -04:00
gfx_v10_0.h
gfxhub_v1_0.c
gfxhub_v1_0.h
gfxhub_v1_1.c
gfxhub_v1_1.h
gfxhub_v2_0.c drm/amdgpu/sriov: skip programing some regs with new L1 policy 2020-03-05 00:31:54 -05:00
gfxhub_v2_0.h
gmc_v6_0.c
gmc_v6_0.h
gmc_v7_0.c drm/amdgpu: add coreboot workaround for KV/KB 2020-01-27 16:46:45 -05:00
gmc_v7_0.h
gmc_v8_0.c
gmc_v8_0.h
gmc_v9_0.c drm/amdgpu: update ras capability's query based on mem ecc configuration 2020-03-13 11:52:34 -04:00
gmc_v9_0.h
gmc_v10_0.c drm/amdgpu: Use the correct flush_type in flush_gpu_tlb_pasid 2020-01-27 16:46:44 -05:00
gmc_v10_0.h
iceland_ih.c
iceland_ih.h
iceland_sdma_pkt_open.h
jpeg_v1_0.c
jpeg_v1_0.h
jpeg_v2_0.c drm/amdgpu: fix typo for vcn2/jpeg2 idle check 2020-03-19 00:03:05 -04:00
jpeg_v2_0.h
jpeg_v2_5.c drm/amdgpu: fix typo for vcn2.5/jpeg2.5 idle check 2020-03-19 00:03:05 -04:00
jpeg_v2_5.h
Kconfig
kv_dpm.c
kv_dpm.h
kv_smc.c
Makefile
mes_v10_1.c
mes_v10_1.h
mmhub_v1_0.c drm/amdgpu: add reset_ras_error_count function for MMHUB 2020-03-05 00:32:40 -05:00
mmhub_v1_0.h
mmhub_v2_0.c drm/amdgpu/sriov: skip programing some regs with new L1 policy 2020-03-05 00:31:54 -05:00
mmhub_v2_0.h
mmhub_v9_4.c drm/amdgpu: add reset_ras_error_count function for MMHUB 2020-03-05 00:32:40 -05:00
mmhub_v9_4.h
mmsch_v1_0.h
mmsch_v2_0.h drm/amdgpu: introduce mmsch v2.0 header 2020-03-06 14:34:42 -05:00
mxgpu_ai.c
mxgpu_ai.h
mxgpu_nv.c
mxgpu_nv.h
mxgpu_vi.c
mxgpu_vi.h
navi10_ih.c drm/amdgpu: Rearm IRQ in Navi10 SR-IOV if IRQ lost 2020-03-05 00:28:34 -05:00
navi10_ih.h
navi10_reg_init.c
navi10_sdma_pkt_open.h
navi12_reg_init.c
navi14_reg_init.c
nbio_v2_3.c
nbio_v2_3.h
nbio_v6_1.c
nbio_v6_1.h
nbio_v7_0.c
nbio_v7_0.h
nbio_v7_4.c drm/amdgpu: record non-zero error counter info in NBIO before resetting GPU 2020-02-19 10:36:26 -05:00
nbio_v7_4.h
nv.c drm/amdgpu: disable jpeg block for SRIOV 2020-03-06 14:34:49 -05:00
nv.h
nvd.h
ObjectID.h
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 Revert "drm/amdgpu: add CAP fw loading" 2020-03-25 16:58:40 -04:00
psp_v3_1.h
psp_v10_0.c
psp_v10_0.h
psp_v11_0.c drm/amdgpu: resolve failed error inject msg 2020-03-13 11:52:33 -04:00
psp_v11_0.h
psp_v12_0.c
psp_v12_0.h
r600_dpm.h
sdma_v2_4.c
sdma_v2_4.h
sdma_v3_0.c
sdma_v3_0.h
sdma_v4_0.c drm/amdgpu: add reset_ras_error_count function for SDMA 2020-03-05 00:32:32 -05:00
sdma_v4_0.h
sdma_v5_0.c drm/amdgpu: use amdgpu_ring_test_helper when possible 2020-02-26 14:17:33 -05:00
sdma_v5_0.h
si_dma.c
si_dma.h
si_dpm.c drm/[radeon|amdgpu]: Remove HAINAN board from max_sclk override check 2020-03-25 16:58:40 -04:00
si_dpm.h
si_enums.h
si_ih.c
si_ih.h
si_smc.c
si.c
si.h
sid.h
sislands_smc.h
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
soc15_common.h drm/amdgpu: revise RLCG access path 2020-03-16 16:17:55 -04:00
soc15.c drm/amdgpu: correct ROM_INDEX/DATA offset for VEGA20 2020-03-09 16:42:28 -04:00
soc15.h drm/amdgpu: revise RLCG access path 2020-03-16 16:17:55 -04:00
soc15d.h
ta_ras_if.h
ta_xgmi_if.h
tonga_ih.c
tonga_ih.h
tonga_sdma_pkt_open.h
umc_v6_0.c
umc_v6_0.h
umc_v6_1.c drm/amdgpu: update page retirement sequence 2020-03-06 14:32:06 -05:00
umc_v6_1.h
uvd_v4_2.c
uvd_v4_2.h
uvd_v5_0.c
uvd_v5_0.h
uvd_v6_0.c
uvd_v6_0.h
uvd_v7_0.c
uvd_v7_0.h
vce_v2_0.c
vce_v2_0.h
vce_v3_0.c
vce_v3_0.h
vce_v4_0.c
vce_v4_0.h
vcn_v1_0.c drm/amdgpu: fix typo for vcn1 idle check 2020-03-19 00:03:05 -04:00
vcn_v1_0.h
vcn_v2_0.c drm/amdgpu: fix typo for vcn2/jpeg2 idle check 2020-03-19 00:03:05 -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: fix typo for vcn2.5/jpeg2.5 idle check 2020-03-19 00:03:05 -04:00
vcn_v2_5.h
vega10_ih.c
vega10_ih.h
vega10_reg_init.c
vega10_sdma_pkt_open.h
vega20_reg_init.c
vi.c
vi.h
vid.h