[PATCH] drm/vc4: Fix atomicity violation in vc4_crtc_send_vblank()

2024-09-13 Thread Qiu-ji Chen
le concurrency bugs including data races and atomicity violations. Fixes: 68e4a69aec4d ("drm/vc4: crtc: Create vblank reporting function") Cc: sta...@vger.kernel.org Signed-off-by: Qiu-ji Chen --- drivers/gpu/drm/vc4/vc4_crtc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-

[PATCH v2] drm/vc4: Fix atomicity violation in vc4_crtc_send_vblank()

2024-10-29 Thread Qiu-ji Chen
concurrently executed, and then analyzes the instructions in the paired functions to identify possible concurrency bugs including data races and atomicity violations. Fixes: 68e4a69aec4d ("drm/vc4: crtc: Create vblank reporting function") Cc: sta...@vger.kernel.org Signed-off-by: Qiu-j

Re: [PATCH] drm/vc4: Fix atomicity violation in vc4_crtc_send_vblank()

2024-09-24 Thread Qiu-ji Chen
rtc_helper_funcs driver interface. We believe that functions within driver interfaces can be concurrent, potentially causing a data race on crtc->state->event. Qiu-ji Chen

[PATCH] drm/tegra: fix a possible null pointer dereference

2024-11-06 Thread Qiu-ji Chen
) for reset.") Cc: sta...@vger.kernel.org Signed-off-by: Qiu-ji Chen --- drivers/gpu/drm/tegra/dc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index be61c9d1a4f0..1ed30853bd9e 100644 --- a/drivers/gpu/drm/tegra/

[PATCH RESEND] drm/tegra: fix a possible null pointer dereference

2025-02-11 Thread Qiu-ji Chen
) for reset.") Cc: sta...@vger.kernel.org Signed-off-by: Qiu-ji Chen --- drivers/gpu/drm/tegra/dc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index be61c9d1a4f0..1ed30853bd9e 100644 --- a/drivers/gpu/drm/tegra/