drm/verisilicon: vs_dc: Fix to disable interrupt on probe 54/296554/1 accepted/tizen/unified/riscv/20230802.014257
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 1 Aug 2023 02:30:40 +0000 (11:30 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 1 Aug 2023 02:30:40 +0000 (11:30 +0900)
commit6a96d47eac5e1531e95fe461f6db12bb67ba3516
tree8b52a1e72dbfa7cdfaa45716a095e835e9baf1d0
parentf8496c893debead6b5a75912946f048ed8c952a2
drm/verisilicon: vs_dc: Fix to disable interrupt on probe

There is a case where interrupt enable is set in decon req before
decon probe is completed. There is a problem that a kernel panic
occurs if an interrupt is executed before the decon is bound. Disable
interrupts before registering interrupts. Also, irq generated when the
interrupt state is disabled is ignored.

Change-Id: I8b3571b006031c28349e1647f2d9a5c508ca6235
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
drivers/gpu/drm/verisilicon/vs_dc.c