CVSROOT: /cvs/dri
Module name: drm
Repository: drm/shared-core/
Changes by: thomash@.... 06/07/11 14:37:37
Log message:
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.
Modified files:
drm/linux-core/:
drm_bufs.c drm_hashtab.c drm_hashtab.h drm_sman.c
drm_vm.c
drm/shared-core/:
sis_drv.h via_drm.h
Revision Changes Path
1.81 +34 -9 drm/linux-core/drm_bufs.c
1.3 +8 -6 drm/linux-core/drm_hashtab.c
1.5 +2 -1 drm/linux-core/drm_hashtab.h
1.4 +1 -1 drm/linux-core/drm_sman.c
1.59 +2 -4 drm/linux-core/drm_vm.c
1.13 +4 -4 drm/shared-core/sis_drv.h
1.24 +3 -3 drm/shared-core/via_drm.h
|