diff options
| author | Christian König <[email protected]> | 2016-01-07 10:44:13 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-02-10 19:17:08 +0000 |
| commit | 4ebd1673c68c6fb591616d8d4880b33a40d203cf (patch) | |
| tree | 9bbc60e25ad53c4c14c6389005d3687596843b73 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: optimize amdgpu_vm_update_ptes a bit (diff) | |
| download | kernel-4ebd1673c68c6fb591616d8d4880b33a40d203cf.tar.gz kernel-4ebd1673c68c6fb591616d8d4880b33a40d203cf.zip | |
drm/amdgpu: remove power of two limit for vramlimit
That works with other values as well.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index cf8a3b37a111..dfe3cdc4efed 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -959,12 +959,6 @@ static void amdgpu_check_arguments(struct amdgpu_device *adev) amdgpu_sched_jobs); amdgpu_sched_jobs = roundup_pow_of_two(amdgpu_sched_jobs); } - /* vramlimit must be a power of two */ - if (!amdgpu_check_pot_argument(amdgpu_vram_limit)) { - dev_warn(adev->dev, "vram limit (%d) must be a power of 2\n", - amdgpu_vram_limit); - amdgpu_vram_limit = 0; - } if (amdgpu_gart_size != -1) { /* gtt size must be power of two and greater or equal to 32M */ |
