When flushing gpu tlb using kiq from gfxhub, kiq ring is always
local as xcc instance is selected for it. Thus using lower 18 bits
to access mmregs inside local xcc instead of full address used
when accessing regs outside of local xcc.
Remove redundent code.
Signed-off-by: Yiqing Yao
d can cause flush to timeout.
So keep the lower 16 bits only.
Remove redundant code.
Signed-off-by: Yiqing Yao
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
b/drivers/gpu/dr
[why]
pm sysfs should be writable in one VF mode as is in passthrough
[how]
do not remove write access on pm sysfs if device is in one VF mode
Fixes: 4436ea3c43a7 ("amdgpu/pm: Make sysfs pm attributes as read-only for VFs")
Signed-off-by: Yiqing Yao
---
drivers/gpu/drm/amd/pm/amdgp
[why]
MES response time in sriov may be longer than default value
due to reset or init in other VF. A timeout value specific
to sriov is needed.
[how]
When in sriov, adjust the timeout value to calculated
worst case scenario.
Signed-off-by: Yiqing Yao
---
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
[why]
MES response time in sriov may be longer than default value
due to reset or init in other VF. A timeout value specific
to sriov is needed.
[how]
When in sriov, adjust the timeout value to calculated
worst case scenario.
Signed-off-by: Yiqing Yao
---
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
Use virt_init_setting instead of per ip version setting.
Signed-off-by: Yiqing Yao
---
drivers/gpu/drm/amd/amdgpu/soc21.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c
b/drivers/gpu/drm/amd/amdgpu/soc21.c
index e08044008186
[why]
Start from soc21, CP does not support MCBP, so disable it.
[how]
Used amgpu_mcbp flag alone instead of checking if is in SRIOV to
enable/disable MCBP.
Only set flag to enable on asic_type prior to soc21 in SRIOV.
Signed-off-by: Yiqing Yao
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
These sysfs nodes are tested supported, so enable it.
Signed-off-by: Yiqing Yao
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index 76b9ec64ca50
These sysfs nodes are tested supported, so enable them.
Signed-off-by: Yiqing Yao
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index 76b9ec64ca50
[why]
lru_list not empty warning in sw fini during repeated device bind unbind.
There should be a amdgpu_fence_wait_empty() before the flush_delayed_work()
call as sugested.
[how]
Do flush_delayed_work for ttm bo delayed delete wq after fence_driver_hw_fini.
Signed-off-by: Yiqing Yao
sched_main.
[how]
Check if the job to submit has signaled and avoid submission if
signaled in device reset for both advanced TDR and normal job
resume.
Signed-off-by: Yiqing Yao
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 72 --
1 file changed, 41 insertions(+), 31 deletions
sched_main.
[how]
Check if the job to submit has signaled and avoid submission if
signaled in device reset for both advanced TDR and normal job
resume.
Signed-off-by: Yiqing Yao
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 72 --
1 file changed, 41 insertions(+), 31 deletions
12 matches
Mail list logo