diff options
author | Marek Olšák <[email protected]> | 2017-08-04 02:08:54 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-08-07 21:12:24 +0200 |
commit | 1694a8ba8dcffd4a73ac0a721ce52301439280d2 (patch) | |
tree | 2ce40615cb6a4bd08b66a0a864e8e38e8b37dacc /src/gallium/winsys/amdgpu/drm | |
parent | 269c37a676c4b5e5631ffc5dc87622e5a507193c (diff) |
gallium/radeon: print all members of radeon_info with R600_DEBUG=info
also set max_alignment on amdgpu.
Tested-by: Dieter Nützel <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c index 26c7dacb9df..a8b5e5b41a1 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -63,7 +63,7 @@ static bool do_winsys_init(struct amdgpu_winsys *ws, int fd) goto fail; } - ws->addrlib = amdgpu_addr_create(&ws->info, &ws->amdinfo, NULL); + ws->addrlib = amdgpu_addr_create(&ws->info, &ws->amdinfo, &ws->info.max_alignment); if (!ws->addrlib) { fprintf(stderr, "amdgpu: Cannot create addrlib.\n"); goto fail; |