android_kernel_sony_sdm845/drivers/gpu/drm/vc4
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stefan Schake f94b238fb8 drm/vc4: Move IRQ enable to PM path
[ Upstream commit ce9caf2f79a5aa170a4b6456a03db639eed9c988 ]

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: 253696ccd613 ("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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-03 17:05:41 +01:00
..
Kconfig drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
Makefile drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
vc4_bo.c drm/vc4: Fix OOPSes from trying to cache a partially constructed BO. 2017-06-24 07:11:14 +02:00
vc4_crtc.c drm/vc4: Allocate the right amount of space for boot-time CRTC state. 2017-04-08 09:30:35 +02:00
vc4_debugfs.c drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
vc4_dpi.c drm/vc4: Disallow interlaced modes on DPI. 2016-08-19 19:05:43 -07:00
vc4_drv.c drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state. 2017-03-26 13:05:56 +02:00
vc4_drv.h drm/vc4: Fix ->clock_select setting for the VEC encoder 2017-03-22 12:43:39 +01:00
vc4_gem.c drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state. 2017-03-26 13:05:56 +02:00
vc4_hdmi.c drm/vc4: Add support for double-clocked modes. 2016-10-06 11:58:28 -07:00
vc4_hvs.c drm/vc4: Add support for scaling of display planes. 2016-02-16 11:24:08 -08:00
vc4_irq.c drm/vc4: Move IRQ enable to PM path 2018-02-03 17:05:41 +01:00
vc4_kms.c drm/vc4: Fix race between page flip completion event and clean-up 2017-03-22 12:43:39 +01:00
vc4_packet.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_plane.c drm: Don't implement empty prepare_fb()/cleanup_fb() 2016-08-19 10:58:55 +02:00
vc4_qpu_defines.h drm/vc4: Fix definition of QPU_R_MS_REV_FLAGS 2016-07-15 15:19:52 -07:00
vc4_regs.h drm/vc4: Fix ->clock_select setting for the VEC encoder 2017-03-22 12:43:39 +01:00
vc4_render_cl.c drm/vc4: fix a bounds check 2017-02-01 08:33:03 +01:00
vc4_trace.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_trace_points.c drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_v3d.c drm/vc4: Move IRQ enable to PM path 2018-02-03 17:05:41 +01:00
vc4_validate.c drm/vc4: Fix races when the CS reads from render targets. 2016-10-06 11:53:50 -07:00
vc4_validate_shaders.c drm/vc4: Fix termination of the initial scan for branch targets. 2017-03-26 13:05:56 +02:00