drm/amdgpu: stop allocating a page array for prime shared BOs
authorChristian König <christian.koenig@amd.com>
Fri, 23 Feb 2018 15:08:51 +0000 (16:08 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 19:38:24 +0000 (14:38 -0500)
commite89d0d332b7554f149648d293c2b6c77b79be529
treecff9854138b6f538e3365bfbb450cb9d7df2b2ec
parent75a57669cbc881032c60615a31bfc6bfab4c813c
drm/amdgpu: stop allocating a page array for prime shared BOs

We don't need the page array for prime shared BOs, stop allocating it.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c