]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/radeon: Add radeon.test parameter for running BO GPU copy tests.
authorMichel Dänzer <daenzer@vmware.com>
Tue, 21 Jul 2009 09:23:57 +0000 (11:23 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Jul 2009 06:08:39 +0000 (16:08 +1000)
commitecc0b32645bf19a3a240e72be3022ab3b46ad3d0
treedcfce62edabb75fb04b58c3d07a19845be6fb48d
parent3b170c3b2e688665fbc2845ba5bb4304bf38a119
drm/radeon: Add radeon.test parameter for running BO GPU copy tests.

If enabled, during initialization BO GTT->VRAM and VRAM->GTT GPU copies are
tested across the whole GTT aperture.

This has helped uncover the benchmark copy size bug and verify the maximum
aperture size supported by the AGP bridge in my PowerBook.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_test.c [new file with mode: 0644]