Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f88d0c45 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

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

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

Change-Id: Ic0dedbada2a0250227d7ee8c45c35dc92a826c67
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent c0cdf127
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment