Skip to content
Snippets Groups Projects
Commit a33a0893 authored by Stephen Rothwell's avatar Stephen Rothwell
Browse files

drm/ttm: initialise places


Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
parent 50da5537
No related merge requests found
......@@ -834,7 +834,7 @@ static int __i915_ttm_get_pages(struct drm_i915_gem_object *obj,
static int i915_ttm_get_pages(struct drm_i915_gem_object *obj)
{
struct ttm_place places[I915_TTM_MAX_PLACEMENTS + 1];
struct ttm_place places[I915_TTM_MAX_PLACEMENTS + 1] = {};
struct ttm_placement placement;
/* restricted by sg_alloc_table */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment