]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: use vram/gart pinned size in radeon_do_test_moves
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Jul 2014 16:20:32 +0000 (12:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Aug 2014 12:53:35 +0000 (08:53 -0400)
commitaa84b5ff38ab414d05825d03b37a81d44e7d9ac8
tree671ee24cc9e1da0625940bba752b88bf3a572d3e
parent84959d135adfec8fd00b7857e39cf88be8d96f54
drm/radeon: use vram/gart pinned size in radeon_do_test_moves

Gives more accurate count and prevents failures when we can't
allocate memory for the tests.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
drivers/gpu/drm/radeon/radeon_test.c