1. 11 3月, 2007 1 次提交
  2. 22 9月, 2006 3 次提交
    • T
      drm: update user token hashing and map handles · 8d153f71
      Thomas Hellstrom 提交于
      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: NDave Airlie <airlied@linux.ie>
      8d153f71
    • T
      drm: move drm authentication to new generic hash table. · 8669cbc5
      Thomas Hellstrom 提交于
      Fix drm_remove_magic potential memory leak / corruption. Move drm
      authentication token hashing to new generic hash table implementation.
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      8669cbc5
    • T
      drm: add simple DRM memory manager, and hash table · 3a1bd924
      Thomas Hellstrom 提交于
      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: NDave Airlie <airlied@linux.ie>
      3a1bd924