drm/verisilicon: vs_dc: Fix to disable interrupt on probe
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 29 Jan 2024 02:45:44 +0000 (11:45 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2024 00:14:01 +0000 (09:14 +0900)
commit4b0a676b04bc3d2b39c8973b76d827f9c32bbc75
tree41b301677eb228634d93fad2b7809cfa508d2701
parent3597d0716c73b5b14a880895c70da71526aad4e3
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: I0b611aadf6c16ea8f850eb570f569e7bad792ce1
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/gpu/drm/verisilicon/vs_dc.c