[libdrm/intel] Reuse entire dri_bo_gem structure
authorKeith Packard <keithp@keithp.com>
Thu, 5 Jun 2008 22:58:09 +0000 (15:58 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 6 Jun 2008 20:00:46 +0000 (13:00 -0700)
commita919ff5d5ec2fe716cbf5c593be7cc0705499107
tree55e88ddbf0430fbf1fae315e4b0d6530b7da0dd8
parent5f5badb26f761eec87b951ce1b7b3a51a5060c50
[libdrm/intel] Reuse entire dri_bo_gem structure

The code was discarding the dri_bo_gem structure and saving only the kernel
handle. This lost the mmap address, causing pain when the next buffer user
wanted to map the buffer.
libdrm/intel/intel_bufmgr_gem.c