]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mali-dp: Check PM status when sharing interrupt lines
authorLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 23 May 2017 13:18:18 +0000 (14:18 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 16 Jun 2017 10:56:46 +0000 (11:56 +0100)
commit26e9ddd525446f5254908425a2089d7ede8d94c7
treed1bc2d585fb4243bc62bf8405435f2e7de50bc73
parent712d8265e033625b08b1775a76402af13caeb8c4
drm/mali-dp: Check PM status when sharing interrupt lines

If an instance of Mali DP hardware shares the interrupt line with
another hardware (usually another instance of the Mali DP) its
interrupt handler can get called when the device is suspended.

Check the PM status before making access to the hardware registers
to avoid deadlocks.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_hw.c