]> git.karo-electronics.de Git - karo-tx-linux.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)
commit6a7068b4ef17dfb9de3191321f1adc91fa1659ca
tree555cc6a57df84d95a24faafd796868101ee1943a
parent2099810f903caa1920f3ef6014fb7f36e4786490
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