OSDN Git Service

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)
commit218b5dcde4d30e071eec4201a36af665ccfa7e1c
tree0889785bfbeed0e0342c41feb9852e9c9bc6785d
parentf9321cc4408bd90bb0adcd929c04322aaf6afdcc
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