[PATCH -next] gpu: drm: Fix spinlock vblank_time_lock use error.

2020-07-22 Thread Xu Qiang
The drm_handle_vblank function is in the interrupt context. Therefore, the spin lock vblank_time_lock is obtained from the interrupt context. Cc: Signed-off-by: Xu Qiang --- drivers/gpu/drm/drm_vblank.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a

[PATCH] drm/vkms: Fix soft lockup.

2020-07-28 Thread Xu Qiang
ace d6a6c6a9ecb73597 ]--- NMI backtrace for cpu 5 skipped: idling at native_halt+0xd/0x10 arch/x86/include/asm/irqflags.h:66 Cc: sta...@vger.kernel.org Reported-by: Hulk Robot Signed-off-by: Xu Qiang --- drivers/gpu/drm/vkms/vkms_crtc.c | 5 - drivers/gpu/drm/vkms/vkms_drv.h | 1 + 2 files changed