]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/si: Call amdgpu_ttm_set_active_vram_size from si_dma_start/stop
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 7 Sep 2016 02:51:06 +0000 (11:51 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2016 19:10:27 +0000 (15:10 -0400)
commitd30a7b2ad618160ac98ac41401bc12c0be4de974
tree983cbac54a8b172e09e30e44b63ef495b466b505
parentb4de93d09ce26d626b441a216d6a54b7b1e3e17c
drm/amdgpu/si: Call amdgpu_ttm_set_active_vram_size from si_dma_start/stop

Without this, we were only ever using the first 256MB of VRAM.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97593
Tested-by: Konstantin A. Lepikhov <lakostis@altlinux.org>
Tested-by: Arek Ruśniak <arek.rusi@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/si_dma.c