]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: allow non pot VM size values
authorChristian König <christian.koenig@amd.com>
Thu, 23 Nov 2017 10:23:18 +0000 (11:23 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:48:30 +0000 (12:48 -0500)
commit341b759e642a847c3a88401db4263dec9f36d552
tree717e1b8643acbe0d1888c52d84e184cb4dd7ceb5
parent36539dcea3225fb603905fb884446f3173cc0198
drm/amdgpu: allow non pot VM size values

The VM size actually doesn't need to be a power of two.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c