]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add vis_vramlimit module parameter
authorJohn Brooks <john@fastquake.com>
Wed, 28 Jun 2017 02:33:17 +0000 (22:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:32 +0000 (11:06 -0400)
commitf47bafa2ec7402e62d06683301e08a047135ed1a
tree0889785bfbeed0e0342c41feb9852e9c9bc6785d
parentc255c2179382cc7cb92c0dc00a876130dcc650d7
drm/amdgpu: Add vis_vramlimit module parameter

Allow specifying a limit on visible VRAM via a module parameter. This is
helpful for testing performance under visible VRAM pressure.

v2: Add cast to 64-bit (Christian König)

Signed-off-by: John Brooks <john@fastquake.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c