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)
commit0df34a807310325cfb910276d631c949aa008d91
treed1bc2d585fb4243bc62bf8405435f2e7de50bc73
parente2113c036775408348cf1bd60a5659648220973f
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