OSDN Git Service

drm/ttm: make sure that we always zero init mem.bus v2
authorChristian König <christian.koenig@amd.com>
Fri, 21 Aug 2020 15:29:22 +0000 (17:29 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 3 Sep 2020 09:40:32 +0000 (11:40 +0200)
commitd575ee11317f3327d6a1d899e56295424f53f3e3
tree36d68266588cfea89cb55c55c3c2dba145ec17d3
parent0f50257f5348751bf5b93d052885de23b2367cd2
drm/ttm: make sure that we always zero init mem.bus v2

We are trying to remove the io_lru handling and depend
on zero init base, offset and addr here.

v2: init addr as well

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Link: https://patchwork.freedesktop.org/patch/388642/
drivers/gpu/drm/ttm/ttm_bo.c