]> 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)
commit4ff9045a269d84ed8629fac918eeefb87beafc47
tree555cc6a57df84d95a24faafd796868101ee1943a
parent7f7f18c8f57d87a8b248819400aaa682e17a5e05
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