Change drm Map handles to be arbitrary 32-bit hash tokens in the range
authorThomas Hellstrom <thomas@tungstengraphics.com>
Mon, 10 Jul 2006 13:00:21 +0000 (13:00 +0000)
committerThomas Hellstrom <thomas@tungstengraphics.com>
Mon, 10 Jul 2006 13:00:21 +0000 (13:00 +0000)
commita392349691ec2aa3f83d8a9fc4a485e4dbef4bbe
treea44b4d9facd06a4caec647e57dcbffdea4a836bf
parentc21a7b763ad31c3473ba2c9a1a01bb729bc13bb5
Change drm Map handles to be arbitrary 32-bit hash tokens in the range
    0x10000000 to 0x90000000 in PAGE_SIZE increments.
Implement hashed map lookups.
This potentially breaks both 2D and 3D drivers. If so, the corresponding
2D and 3D driver should be fixed, and it's corresponding drm device driver
    should have its major bumped as soon as possible.
Bump sis and via drm device driver majors.
The SiS and Unichrome 3D drivers are fixed in Mesa CVS HEAD and
    mesa_6_4_branch.
linux-core/drmP.h
linux-core/drm_bufs.c
linux-core/drm_hashtab.h
linux-core/drm_stub.c
linux-core/drm_vm.c
shared-core/sis_drv.h
shared-core/via_drm.h