linux_dsm_epyc7002/drivers/gpu/drm/vc4
Dan Carpenter 7e5082fbc0 drm/vc4: allocate enough memory in vc4_save_hang_state()
"state" is smaller than "kernel_state" so we end up corrupting memory.

Fixes: 214613656b ('drm/vc4: Add an interface for capturing the GPU state after a hang.')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2015-12-17 11:40:21 -08:00
..
Kconfig drm/vc4: Add dependency on HAVE_DMA_ATTRS, and select DRM_GEM_CMA_HELPER 2015-11-10 08:25:27 +10:00
Makefile drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_bo.c drm/vc4: Add an API for creating GPU shaders in GEM BOs. 2015-12-07 20:05:09 -08:00
vc4_crtc.c Merge tag 'drm-vc4-next-2015-12-11' of http://github.com/anholt/linux into drm-next 2015-12-15 10:43:27 +10:00
vc4_debugfs.c drm/vc4: Bind and initialize the V3D engine. 2015-12-07 20:05:10 -08:00
vc4_drv.c Merge tag 'drm-vc4-next-2015-12-11' of http://github.com/anholt/linux into drm-next 2015-12-15 10:43:27 +10:00
vc4_drv.h drm/vc4: Add an interface for capturing the GPU state after a hang. 2015-12-07 20:49:49 -08:00
vc4_gem.c drm/vc4: allocate enough memory in vc4_save_hang_state() 2015-12-17 11:40:21 -08:00
vc4_hdmi.c drm: Pass 'name' to drm_encoder_init() 2015-12-11 09:13:20 +01:00
vc4_hvs.c drm/vc4: Fix some failure to track __iomem decorations on pointers. 2015-11-17 12:26:59 -08:00
vc4_irq.c drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_kms.c drm/vc4: Add support for async pageflips. 2015-12-07 20:10:03 -08:00
vc4_packet.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_plane.c Merge tag 'drm-vc4-next-2015-12-11' of http://github.com/anholt/linux into drm-next 2015-12-15 10:43:27 +10:00
vc4_qpu_defines.h drm/vc4: Add an API for creating GPU shaders in GEM BOs. 2015-12-07 20:05:09 -08:00
vc4_regs.h drm/vc4: Fix a typo in a V3D debug register. 2015-12-07 20:05:09 -08:00
vc4_render_cl.c 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_trace.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_v3d.c drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_validate_shaders.c drm/vc4: Add an API for creating GPU shaders in GEM BOs. 2015-12-07 20:05:09 -08:00
vc4_validate.c drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00