Commit graph android_kernel_sony_sdm845/drivers/char/drm/drm_hashtab.h
Message SHA1
drm: run cleanfile across drm tree
Signed-off-by: Dave Airlie <airlied@linux.ie>

Dave Airlie   commited 2008-02-07 15:09:38 +10:00
bc5f4523f7
Convert files to UTF-8 and some cleanups
* Convert files to UTF-8.

  * Also correct some people's names
    (one example is Eißfeldt, which was found in a source file.
    Given that the author used an ß at all in a source file
    indicates that the real name has in fact a 'ß' and not an 'ss',
    which is commonly used as a substitute for 'ß' when limited to
    7bit.)

  * Correct town names (Goettingen -> Göttingen)

  * Update Eberhard Mönkeberg's address (http://lkml.org/lkml/2007/1/8/313)

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>

Jan Engelhardt   authored and   Adrian Bunk   commited 2007-10-19 23:21:04 +02:00
96de0e252c
drm: detypedef the hashtab and more of sman
Signed-off-by: Dave Airlie <airlied@linux.ie>

Dave Airlie   commited 2007-07-12 10:26:44 +10:00
e0be428e66
drm: port over use_vmalloc code from git hashtab
Signed-off-by: Dave Airlie <airlied@linux.ie>

Dave Airlie   commited 2007-03-11 12:07:17 +11:00
cd839d0048
drm: update user token hashing and map handles
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.

Implement hashed map lookups.

Signed-off-by: Dave Airlie <airlied@linux.ie>

Thomas Hellstrom   authored and   Dave Airlie   commited 2006-09-22 05:32:31 +10:00
8d153f7107
drm: move drm authentication to new generic hash table.
Fix drm_remove_magic potential memory leak / corruption. Move drm
authentication token hashing to new generic hash table implementation.

Signed-off-by: Dave Airlie <airlied@linux.ie>

Thomas Hellstrom   authored and   Dave Airlie   commited 2006-09-22 05:32:31 +10:00
8669cbc5e6
drm: add simple DRM memory manager, and hash table
This adds the DRM hashtable and simple memory manager implementations from
Tungsten Graphics, this is NOT the new memory manager, this is a replacement
for the SIS and VIA memory managers.

Signed-off-by: Dave Airlie <airlied@linux.ie>

Thomas Hellstrom   authored and   Dave Airlie   commited 2006-09-22 05:32:31 +10:00
3a1bd924f3