diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-22 09:36:06 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-12-27 12:29:41 +0100 |
commit | b3ee963fe41d0034cf8b6aff1f0cc9c91bf8d478 (patch) | |
tree | a83aa9ad241ffe2af888f57535a56b70850b5999 /lib/Kconfig | |
parent | drm: Use drm_mm_nodes() as shorthand for the list of nodes under struct drm_mm (diff) | |
download | linux-b3ee963fe41d0034cf8b6aff1f0cc9c91bf8d478.tar.xz linux-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 <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161222083641.2691-4-chris@chris-wilson.co.uk
Link: http://patchwork.freedesktop.org/patch/msgid/20161222083641.2691-4-chris@chris-wilson.co.uk
Diffstat (limited to 'lib/Kconfig')
0 files changed, 0 insertions, 0 deletions