Files
linux/drivers/gpu/drm
Jordan Crouse 0041ba396d drm/msm: Don't allow zero sized buffer objects
Zero sized buffer objects tend to make various bits of the GEM
infrastructure complain:

 WARNING: CPU: 1 PID: 2323 at drivers/gpu/drm/drm_mm.c:389 drm_mm_insert_node_generic+0x258/0x2f0
 Modules linked in:

 CPU: 1 PID: 2323 Comm: drm-api-test Tainted: G        W 4.9.0-rc4-00906-g693af44 #213
 Hardware name: Qualcomm Technologies, Inc. DB820c (DT)
 task: ffff8000d7353400 task.stack: ffff8000d7720000
 PC is at drm_mm_insert_node_generic+0x258/0x2f0
 LR is at drm_vma_offset_add+0x4c/0x70

Zero sized buffers serve no appreciable value to the user so disallow
them at create time.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2017-04-08 06:59:32 -04:00
..
2017-04-04 23:33:42 -04:00
2017-04-04 23:33:42 -04:00
2017-04-04 23:33:42 -04:00
2017-02-27 18:43:47 -08:00
2017-04-04 23:33:42 -04:00
2017-04-04 17:03:35 +03:00
2017-04-04 23:33:42 -04:00
2017-04-04 23:33:42 -04:00
2017-04-04 23:33:42 -04:00
2017-04-04 23:33:42 -04:00
2017-03-24 09:36:06 +01:00
2017-02-23 12:10:12 +10:00
2017-03-14 14:38:34 +01:00
2017-03-24 09:36:06 +01:00
2017-03-25 22:40:55 +01:00
2017-02-28 16:14:53 +01:00
2017-03-09 16:18:02 +01:00
2017-03-09 16:18:02 +01:00
2017-03-14 14:38:33 +01:00
2017-03-21 10:15:39 +02:00