[PATCH 0/2] DSS interrupt related bug fixes
From: Devarsh Thakkar
Date: Sat Oct 12 2024 - 11:07:54 EST
While reviewing the interrupt related code and register dump, we found couple
of issues related to interrupt related register programming. Firstly, the
function enabling/disabling the interrupts was trying to clear the
interrupts which were not enabled in first place and secondly there is a
potential race scenario between interrupt subroutine and interrupt
enable/disable related functions as they both access interrupt registers
without a common lock. This series addresses the aforementioned problems.
Devarsh Thakkar (2):
drm/tidss: Clear the interrupt status for interrupts being disabled
drm/tidss: Avoid race condition while handling interrupt registers
drivers/gpu/drm/tidss/tidss_dispc.c | 12 ++++++++----
drivers/gpu/drm/tidss/tidss_irq.c | 2 ++
2 files changed, 10 insertions(+), 4 deletions(-)
--
2.39.1