Robert Noland 9c03c0d88c Rework how drm maps are handled.
* On 32 bit platforms we steal the upper 4 bits of the map handle
   to store a unique map id.
 * On 64 bit platforms we steal the upper 24 bits.

Resolves issues where the offsets that are handed to mmap may overlap the VRAM on some cards.

Tested on: radeon, intel, mga, and via.

This will break nouveau.  I will spin new patches shortly.
2010-04-22 18:21:25 +00:00
..
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-01-31 14:25:29 +00:00
2010-01-31 14:25:29 +00:00
2010-04-22 18:21:25 +00:00
2010-01-31 14:25:29 +00:00
2010-01-31 14:25:29 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-01-31 14:25:29 +00:00
2010-03-13 18:14:51 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00
2010-04-22 18:21:25 +00:00