]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: attempt to avoid copying data twice on coherent cards. (v3)
authorDave Airlie <airlied@redhat.com>
Tue, 3 Apr 2012 15:23:41 +0000 (16:23 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 12 Apr 2012 08:42:54 +0000 (09:42 +0100)
commit3e457a993cd6145ed599f8ec28d6e9839c8f12bf
tree555cc6a57df84d95a24faafd796868101ee1943a
parent401ed84708f20d2620e01d455f90fea1c128fd7d
drm/radeon/kms: attempt to avoid copying data twice on coherent cards. (v3)

On coherent systems (not-AGP) the IB should be in cached memory so should
be just as fast, so we can avoid copying to temporary pages and just use it
directly.

provides minor speedups on rv530: gears ~1820->1860, ipers: 29.9->30.6,
but always good to use less CPU if we can.

v3: cleanup unneeded bits.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_cs.c