linux/drivers/gpu/drm/vc4
Stefan Schake ce9caf2f79 drm/vc4: Move IRQ enable to PM path
We were calling enable_irq on bind, where it was already enabled previously
by the IRQ helper. Additionally, dev->irq is not set correctly until after
postinstall and so was always zero here, triggering a warning in 4.15.
Fix both by moving the enable to the power management resume path, where we
know there was a previous disable invocation during suspend.

Fixes: 253696ccd6 ("drm/vc4: Account for interrupts in flight")
Signed-off-by: Stefan Schake <stschake@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1514563543-32511-1-git-send-email-stschake@gmail.com
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2018-01-03 15:56:03 -08:00
..
Kconfig drm/vc4: add HDMI CEC support 2017-07-26 12:15:12 -07:00
Makefile main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
vc4_bo.c drm/vc4: Fix false positive WARN() backtrace on refcount_inc() usage 2017-12-07 10:09:43 +01:00
vc4_crtc.c drm/vc4: switch to drm_*{get,put} helpers 2017-08-08 13:20:11 -07:00
vc4_debugfs.c
vc4_dpi.c drm/vc4: remove bridge from driver internal structure 2017-10-10 11:32:54 +02:00
vc4_drv.c drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl 2017-10-19 10:34:49 -07:00
vc4_drv.h drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl 2017-10-19 10:34:49 -07:00
vc4_dsi.c drm/vc4: Fix sleeps during the IRQ handler for DSI transactions. 2017-10-19 13:20:09 -07:00
vc4_fence.c
vc4_gem.c drm/vc4: Release fence after signalling 2017-12-08 13:02:22 -08:00
vc4_hdmi.c Merge tag 'drm-misc-fixes-2017-11-20' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2017-11-24 11:33:29 +10:00
vc4_hvs.c
vc4_irq.c drm/vc4: Move IRQ enable to PM path 2018-01-03 15:56:03 -08:00
vc4_kms.c drm/vc4: Use drm_gem_fb_create() 2017-08-16 21:35:57 +02:00
vc4_packet.h
vc4_plane.c drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl 2017-10-19 10:34:49 -07:00
vc4_qpu_defines.h
vc4_regs.h drm/vc4: add HDMI CEC support 2017-07-26 12:15:12 -07:00
vc4_render_cl.c drm/vc4: Add exec flags to allow forcing a specific X/Y tile walk order. 2017-08-08 13:26:44 -07:00
vc4_trace_points.c
vc4_trace.h drm/vc4: Use correct path to trace include 2017-09-05 11:11:20 +02:00
vc4_v3d.c drm/vc4: Move IRQ enable to PM path 2018-01-03 15:56:03 -08:00
vc4_validate_shaders.c drm/vc4: Demote user-accessible DRM_ERROR paths to DRM_DEBUG. 2017-08-08 13:20:11 -07:00
vc4_validate.c drm/vc4: Demote user-accessible DRM_ERROR paths to DRM_DEBUG. 2017-08-08 13:20:11 -07:00
vc4_vec.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00