diff options
| author | Chris Wilson <[email protected]> | 2016-12-22 08:36:06 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-12-27 11:29:41 +0000 |
| commit | b3ee963fe41d0034cf8b6aff1f0cc9c91bf8d478 (patch) | |
| tree | a83aa9ad241ffe2af888f57535a56b70850b5999 /drivers/gpu/drm/lib/drm_random.c | |
| parent | drm: Use drm_mm_nodes() as shorthand for the list of nodes under struct drm_mm (diff) | |
| download | kernel-b3ee963fe41d0034cf8b6aff1f0cc9c91bf8d478.tar.gz kernel-b3ee963fe41d0034cf8b6aff1f0cc9c91bf8d478.zip | |
drm: Compile time enabling for asserts in drm_mm
Use CONFIG_DRM_DEBUG_MM to conditionally enable the internal and
validation checking using BUG_ON. Ideally these paths should all be
exercised by CI selftests (with the asserts enabled).
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lib/drm_random.c')
0 files changed, 0 insertions, 0 deletions
