Keep hashed user tokens, with the following changes:
authorThomas Hellstrom <thomas@tungstengraphics.com>
Tue, 11 Jul 2006 14:37:37 +0000 (14:37 +0000)
committerThomas Hellstrom <thomas@tungstengraphics.com>
Tue, 11 Jul 2006 14:37:37 +0000 (14:37 +0000)
commit126673d62afad6da84e833daa644a352d88a5e37
tree360d6186280ab586fe748bb9bccc7db298117841
parenta392349691ec2aa3f83d8a9fc4a485e4dbef4bbe
Keep hashed user tokens, with the following changes:
32-bit physical device addresses are mapped directly to user-tokens. No
    duplicate maps are allowed, and the addresses are assumed to be outside
    of the range 0x10000000 through 0x30000000. The user-token is identical
    to the 32-bit physical start-address of the map.
64-bit physical device addressed are mapped to user-tokens in the range
0x10000000 to 0x30000000 with page-size increments. The user_token should
    not be interpreted as an address.
Other map types, like upcoming TTM maps are mapped to user-tokens in the
    range
0x10000000 to 0x30000000 with page-size increments. The user_token should
    not be interpreted as an address.
This keeps compatibility with buggy drivers, while still implementing a
    hashed map lookup. The SiS and via device driver major bumps are
    reverted.
linux-core/drm_bufs.c
linux-core/drm_hashtab.c
linux-core/drm_hashtab.h
linux-core/drm_sman.c
linux-core/drm_vm.c
shared-core/sis_drv.h
shared-core/via_drm.h