linux_dsm_epyc7002/drivers/gpu/drm/vc4
Eric Anholt ca39b449f6 drm/vc4: Fix OOPSes from trying to cache a partially constructed BO.
If a CMA allocation failed, the partially constructed BO would be
unreferenced through the normal path, and we might choose to put it in
the BO cache.  If we then reused it before it expired from the cache,
the kernel would OOPS.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: c826a6e106 ("drm/vc4: Add a BO cache.")
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170301185602.6873-2-eric@anholt.net
2017-03-02 09:57:23 -08:00
..
Kconfig drm/vc4: Add DSI driver 2017-02-01 12:51:23 -08:00
Makefile drm/vc4: Add DSI driver 2017-02-01 12:51:23 -08:00
vc4_bo.c drm/vc4: Fix OOPSes from trying to cache a partially constructed BO. 2017-03-02 09:57:23 -08:00
vc4_crtc.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_debugfs.c drm/vc4: Add DSI driver 2017-02-01 12:51:23 -08:00
vc4_dpi.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_drv.c drm/vc4: Add a paragraph at the top of vc4 docs introducing what it is. 2017-02-28 12:51:49 -08:00
vc4_drv.h drm: vc4: use vblank hooks in struct drm_crtc_funcs 2017-02-09 16:12:47 +08:00
vc4_dsi.c drm/vc4: Convert existing documentation to actual kerneldoc. 2017-02-28 12:51:48 -08:00
vc4_gem.c drm/vc4: Convert existing documentation to actual kerneldoc. 2017-02-28 12:51:48 -08:00
vc4_hdmi.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_hvs.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_irq.c drm/vc4: Convert existing documentation to actual kerneldoc. 2017-02-28 12:51:48 -08:00
vc4_kms.c drm: Rely on mode_config data for fb_helper initialization 2017-02-02 19:12:00 +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/vc4: Don't wait for vblank when updating the cursor 2017-02-28 12:49:40 -08: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: Add support for feeding DSI encoders from the pixel valve. 2017-02-01 12:51:22 -08:00
vc4_render_cl.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_trace_points.c drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_trace.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_v3d.c drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state. 2016-11-04 16:12:35 -07:00
vc4_validate_shaders.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_validate.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_vec.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00