diff options
author | Robert Noland <rnoland@2hip.net> | 2009-03-15 13:52:58 -0500 |
---|---|---|
committer | Robert Noland <rnoland@2hip.net> | 2009-03-16 01:20:08 -0500 |
commit | 2e2e8575b1ed4703653a72ac2b60b75316c388d7 (patch) | |
tree | 15c91b743175c944c76b9d4985fd46565a9efc92 /tests/getclient.c | |
parent | e8d34762558224bb76862425de965c47858f2afd (diff) |
libdrm_nouveau: The handle that is passed to mmap needs to be drm_handle_t
drm_handle_t is defined to be a u32 on linux and a u64 on everything
else. This addresses an issue on FreeBSD amd64 where the map offsets
may be greater than 32bits. When the handle is cast to 32bit, mmap
cannot match the requested map and causes X to crash.
This should be a NOOP on linux since drm_handle_t is always 32bit.
Signed-off-by: Robert Noland <rnoland@2hip.net>
Diffstat (limited to 'tests/getclient.c')
0 files changed, 0 insertions, 0 deletions