linux_dsm_epyc7002/drivers/gpu/drm/amd
changzhu 589b64a7e3 drm/amdgpu: add dummy read by engines for some GCVM status registers in gfx10
The GRBM register interface is now capable of bursting 1 cycle per
register wr->wr, wr->rd much faster than previous muticycle per
transaction done interface.  This has caused a problem where
status registers requiring HW to update have a 1 cycle delay, due
to the register update having to go through GRBM.

For cp ucode, it has realized dummy read in cp firmware.It covers
the use of WAIT_REG_MEM operation 1 case only.So it needs to call
gfx_v10_0_wait_reg_mem in gfx10. Besides it also needs to add warning to
update firmware in case firmware is too old to have function to realize
dummy read in cp firmware.

For sdma ucode, it hasn't realized dummy read in sdma firmware. sdma is
moved to gfxhub in gfx10. So it needs to add dummy read in driver
between amdgpu_ring_emit_wreg and amdgpu_ring_emit_reg_wait for sdma_v5_0.

Signed-off-by: changzhu <Changfeng.Zhu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-06 22:06:23 -05:00
..
acp
amdgpu drm/amdgpu: add dummy read by engines for some GCVM status registers in gfx10 2019-11-06 22:06:23 -05:00
amdkfd drm fixes for 5.4-rc1 2019-09-27 11:13:35 -07:00
display Revert "drm/amd/display: setting the DIG_MODE to the correct value." 2019-11-06 15:32:19 -05:00
include drm/amd/display: update renoir_ip_offset.h 2019-09-17 14:22:29 -05:00
powerplay drm/amd/swSMU: fix smu workload bit map error 2019-11-06 22:06:23 -05:00