]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: use cached memory when evicting for vram on non agp
authorJerome Glisse <jglisse@redhat.com>
Wed, 28 Nov 2012 18:47:55 +0000 (13:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 8 Dec 2012 00:48:21 +0000 (19:48 -0500)
commitfb1ddd3a42540e4236445420b2b52cda77ab6b41
tree7736e4b935ac33c42f0435a9c7c2d80afdb04aab
parentf477631c0ab909fc1aec2333324f4f8e28b56e75
drm/radeon: use cached memory when evicting for vram on non agp

Force the use of cached memory when evicting from vram on non agp
hardware. Also force write combine on agp hw. This is to insure
the minimum cache type change when allocating memory and improving
memory eviction especialy on pci/pcie hw.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
drivers/gpu/drm/radeon/radeon_object.c