diff options
author | Chris Wilson <[email protected]> | 2017-01-19 19:26:59 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-01-21 10:32:32 +0000 |
commit | b00ddb27324eee53cbed8be7fc00dc572727bb0e (patch) | |
tree | b25895d2854daf735dcb9221d78174fda15ed662 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 44a0ec0d3bd5ebbe2233b48cc53b5c79b66277b7 (diff) |
drm/i915: Assert that created vma has a whole number of pages
VMA (and their objects) are supposed to composed of whole pages. Add an
assert to catch any invalid construct when we create the VMA.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions