diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-09-01 11:23:21 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-09-01 11:23:21 +0200 |
commit | 4edb95d6e0a00a9a8885603cab2c99e3c6daa705 (patch) | |
tree | 2e8ec3692201756af6dcde82aa70688391f47bb7 /libdrm | |
parent | 44f6d08988a77a640bea40d09cb61eec7566a5ce (diff) |
Various bugfixes.
Diffstat (limited to 'libdrm')
-rw-r--r-- | libdrm/xf86drm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c index a99c979d..41ad89cb 100644 --- a/libdrm/xf86drm.c +++ b/libdrm/xf86drm.c @@ -3053,8 +3053,8 @@ int drmMMInit(int fd, unsigned long vramPOffset, unsigned long vramPSize, arg.req.op = mm_init; arg.req.vr_p_offset = vramPOffset; arg.req.vr_p_size = vramPSize; - arg.req.tt_p_offset = vramPOffset; - arg.req.tt_p_size = vramPSize; + arg.req.tt_p_offset = ttPOffset; + arg.req.tt_p_size = ttPSize; if (ioctl(fd, DRM_IOCTL_MM_INIT, &arg)) return -errno; |