winsys/radeon: cleanup virtual memory nonsense
authorChristian König <christian.koenig@amd.com>
Tue, 19 Nov 2013 09:47:36 +0000 (10:47 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 21 Nov 2013 09:24:20 +0000 (10:24 +0100)
commitecb37a6e77f34d9c082fc38a36798a42c851d952
tree0498b4e60247b80b46b1d0344b3e00f44f62fecf
parentf56f875b8b72eda5abf124c8c4203b77b44b9670
winsys/radeon: cleanup virtual memory nonsense

The alignment of a virtual memory area must always be at least 4096 bytes.

It only worked because size was aligned to 4096 outside of the function.

Signed-off-by: Christian König <christian.koenig@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
src/gallium/winsys/radeon/drm/radeon_drm_bo.h