OSDN Git Service

drm/nouveau: stop implementing init_mem_type
authorChristian König <christian.koenig@amd.com>
Thu, 23 Jul 2020 13:39:57 +0000 (15:39 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 31 Jul 2020 15:13:58 +0000 (17:13 +0200)
commit009869fde901a4086f3590ec7c9a02de07801276
treeb6da4c57c6988df910c10c3f57246d65adc48f9c
parent3629ca5dfb9ab583a6307abb31793bb0afacf933
drm/nouveau: stop implementing init_mem_type

Instead just initialize the memory type parameters
before calling ttm_bo_init_mm.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/382081/
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_ttm.c