diff options
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) | |||
959 | amdgpu_sched_jobs); | 959 | amdgpu_sched_jobs); |
960 | amdgpu_sched_jobs = roundup_pow_of_two(amdgpu_sched_jobs); | 960 | amdgpu_sched_jobs = roundup_pow_of_two(amdgpu_sched_jobs); |
961 | } | 961 | } |
962 | /* vramlimit must be a power of two */ | ||
963 | if (!amdgpu_check_pot_argument(amdgpu_vram_limit)) { | ||
964 | dev_warn(adev->dev, "vram limit (%d) must be a power of 2\n", | ||
965 | amdgpu_vram_limit); | ||
966 | amdgpu_vram_limit = 0; | ||
967 | } | ||
968 | 962 | ||
969 | if (amdgpu_gart_size != -1) { | 963 | if (amdgpu_gart_size != -1) { |
970 | /* gtt size must be power of two and greater or equal to 32M */ | 964 | /* gtt size must be power of two and greater or equal to 32M */ |