radeon: only do the fb read if we are mapping a VRAM object
authorDave Airlie <airlied@redhat.com>
Wed, 4 Feb 2009 01:14:38 +0000 (11:14 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Feb 2009 01:14:38 +0000 (11:14 +1000)
commitc85a3851b6519c24780e94dea570a72418621189
tree1c3764cb8f5f35bed911a0a65c267fc02d153cc4
parente8f575d657c5a363a4bf090b3b4fd219cce218ae
radeon: only do the fb read if we are mapping a VRAM object

this makes writing the DMA buffers got a lot better
src/mesa/drivers/dri/radeon/radeon_bo_legacy.c