]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit2c6316cbcd724adaea123a64a939b0ec4c39d009
tree671ee24cc9e1da0625940bba752b88bf3a572d3e
parentccbe0060aabb097bdb96510dc0390ed8f79326ea
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