diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-25 21:11:21 +0300 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-25 21:54:37 +0300 |
| commit | aa149431279166025bc457007e5a1fdcb4d2db9b (patch) | |
| tree | 0d4dfe7d52718dc3e236ee3812c44e7d46906f97 /include/linux/flex_array.h | |
| parent | 357480ce2fe4dc11ff0b77706d77e2319c96fe31 (diff) | |
| download | linux-aa149431279166025bc457007e5a1fdcb4d2db9b.tar.xz | |
drm/i915: Sanity check the vma->node prior to binding into the GTT
We rely on the VMA being allocated inside the drm_mm and for its allotted
node being large enough to accommodate all the vma->pages.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170225181122.4788-3-chris@chris-wilson.co.uk
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
