[PATCH] drm/amdgpu: Fix the incomplete product number

2022-07-21 Thread Roy Sun
. Cap it at 16 to be safe Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 9f729a648005..187e3dae3965 100644 --- a/drivers/gpu/drm/amd

[PATCH] drm/amdgpu: Fix the incomplete product number

2022-07-20 Thread Roy Sun
The comments say that the product number is a 16-digit HEX string so the buffer needs to be at least 17 characters to hold the NUL terminator. Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd

[PATCH] drm/amd/amdgpu: Enable some sysnodes for guest smi

2021-09-06 Thread Roy Sun
Enable sysnode vclk and dclk on Navi21 asic for guest smi Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/pm/amdgpu_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index 249cb0aeb5ae

[PATCH] drm/amdgpu: Change the imprecise output

2021-07-22 Thread Roy Sun
The fail reason is that the vfgate is disabled Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index 9f3d82dfb79c

[PATCH] drm/amdgpu: Add error message when programing registers fails

2021-07-20 Thread Roy Sun
Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index bc4347a72301..67a6fffd528b 100644 --- a/drivers

[PATCH] drm/amdgpu: Add error message when programing registers fails

2021-07-15 Thread Roy Sun
Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index bc4347a72301..3ac0d27e8ad1 100644 --- a/drivers

[PATCH] drm/amdgpu: Add error message when programing registers fails

2021-07-13 Thread Roy Sun
Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index bc4347a72301..a7e03bba72b3 100644 --- a/drivers/gpu

[PATCH] drm/amdgpu: return error type when programing registers fails

2021-07-09 Thread Roy Sun
Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index bc4347a72301..af92c6f63dee 100644 --- a/drivers/gpu

[PATCH] drm/amdgpu: return error type when programing registers fails

2021-07-08 Thread Roy Sun
Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index bc4347a72301..2ec5b973a888 100644 --- a/drivers/gpu

[PATCH] drm/amdgpu: change the imprecise function name

2021-07-07 Thread Roy Sun
The callback functions are used for SRIOV read/write instead of just for rlcg read/write Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h| 4 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 8 drivers/gpu/drm

[PATCH] drm/amdgpu: Use a precise function name

2021-07-06 Thread Roy Sun
The callback functions are used for SRIOV read/write instead of just for rlcg read/write Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h| 4 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 ++-- drivers/gpu/drm/amd

[PATCH] SWDEV-291099 - Use a percise function name

2021-07-05 Thread Roy Sun
The callback functions are used for SRIOV read/write instead of just for rlcg read/write Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h| 4 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 ++-- drivers/gpu/drm/amd

[PATCH] drm/amdgpu: fix the fence leak

2021-05-06 Thread Roy Sun
release the unreleased fences Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c index 01fe60fedcbe..59b662947dde 100644

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-25 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 61

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-25 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 12 ++-- 1 file changed, 10 insertions(+), 2

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-23 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-23 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 61

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-23 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 61

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-23 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- This is the patch that just return the memory size. drivers/gpu/drm/scheduler/sched_main.c

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-21 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-21 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 61

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-20 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 61

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-20 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-20 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 61

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-20 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-18 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 61

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-18 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-15 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 61

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-15 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-14 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 61

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-14 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-13 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 59

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-13 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2

[PATCH 1/2] drm/scheduler: Change scheduled fence track

2021-04-12 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2

[PATCH 2/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-12 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c| 5 +- drivers/gpu

[PATCH] drm/amd/amdgpu: Expose some power info through AMDGPU_INFO

2021-04-12 Thread Roy Sun
Add interface to get the mm clock, temperature and memory load Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 50 + include/uapi/drm/amdgpu_drm.h | 12 ++ 2 files changed, 62 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu

[PATCH 2/2] drm/scheduler: Change scheduled fence track

2021-04-07 Thread Roy Sun
Update the timestamp of scheduled fence on HW completion of the previous fences This allow more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2

[PATCH 1/2] drm/amdgpu: Add show_fdinfo() interface

2021-04-07 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile| 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c| 5 +- drivers/gpu

[PATCH] drm/amd/amdgpu: Cancel the hrtimer in sw_fini

2021-04-06 Thread Roy Sun
Move the process of cancelling hrtimer to sw_fini Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c index

[PATCH] drm/amdgpu: Add show_fdinfo() interface

2021-04-06 Thread Roy Sun
Tracking devices, process info and fence info using /proc/pid/fdinfo Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 + .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 15

[PATCH 6/7] drm/amdkfd: Add fence tracking

2021-03-21 Thread Roy Sun
From: David M Nieto Add fence tracking for amdgpu resources on gpuvm creation Signed-off-by: David M Nieto --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c| 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c

[PATCH 5/7] drm/amdgpu: Track fences on KMS

2021-03-21 Thread Roy Sun
From: David M Nieto Create SMI fence tracking structures of KMS open Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 10 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git

[PATCH 4/7] drm/amdgpu: SMI debugfs tracking

2021-03-21 Thread Roy Sun
From: David M Nieto Add folder in debugfs structure for tracking of per pid fences Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c b

[PATCH 3/7] drm/amdgpu: SMI-LIB handlers

2021-03-21 Thread Roy Sun
From: David M Nieto Add fence tracking interfaces and core structures for SMI ioctl management Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile | 10 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 12 + drivers/gpu/drm/amd/amdgpu/amdgpu_smi.c

[PATCH 2/7] drm: Change scheduled fence track

2021-03-21 Thread Roy Sun
From: David M Nieto Update the timestamp of the scheduled fence on HW completion of the previous fence. This allows more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 9 - 1 file

[PATCH 1/7] drm/amdgpu: Add SMI-LIB ioctl

2021-03-21 Thread Roy Sun
From: David M Nieto Add definition for the SMI ioctl Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- include/uapi/drm/amdgpu_drm.h | 20 1 file changed, 20 insertions(+) diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index

[PATCH 5/7] SWDEV-275015 - drm/amdgpu: Track fences on KMS

2021-03-21 Thread Roy Sun
From: David M Nieto Create SMI fence tracking structures of KMS open Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 10 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git

[PATCH 6/7] SWDEV-275015 - drm/amdkfd: Add fence tracking

2021-03-21 Thread Roy Sun
From: David M Nieto Add fence tracking for amdgpu resources on gpuvm creation Signed-off-by: David M Nieto --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c| 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c

[PATCH 4/7] SWDEV-275015 - drm/amdgpu: SMI debugfs tracking

2021-03-21 Thread Roy Sun
From: David M Nieto Add folder in debugfs structure for tracking of per pid fences Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c b

[PATCH 3/7] SWDEV-275015 - drm/amdgpu: SMI-LIB handlers

2021-03-21 Thread Roy Sun
From: David M Nieto Add fence tracking interfaces and core structures for SMI ioctl management Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/Makefile | 10 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 12 + drivers/gpu/drm/amd/amdgpu/amdgpu_smi.c

[PATCH 2/7] SWDEV-275015 - drm: Change scheduled fence track

2021-03-21 Thread Roy Sun
From: David M Nieto Update the timestamp of the scheduled fence on HW completion of the previous fence. This allows more accurate tracking of the fence execution in HW Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- drivers/gpu/drm/scheduler/sched_main.c | 9 - 1 file

[PATCH 1/7] SWDEV-275015 - drm/amdgpu: Add SMI-LIB ioctl

2021-03-21 Thread Roy Sun
From: David M Nieto Add definition for the SMI ioctl Signed-off-by: David M Nieto Signed-off-by: Roy Sun --- include/uapi/drm/amdgpu_drm.h | 20 1 file changed, 20 insertions(+) diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index

[PATCH] drm/amdgpu: change the fence ring wait timeout

2021-01-12 Thread Roy Sun
This fix bug where when the engine hang, the fence ring will wait without quit and cause kernel crash Signed-off-by: Roy Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 48 --- 1 file changed, 43 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu