aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-05-08 12:27:14 +0200
committerMarek Olšák <[email protected]>2016-05-10 17:20:09 +0200
commit9d8c283f285b26e17efaa017587c50e76d749583 (patch)
treec748ff1786bfeeb6fce4fddc9e44a13bbfc1b1e6 /src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
parente4cf8717de39a5344ae60dbed4ed8fddf9ebfee1 (diff)
winsys/amdgpu: move gart_page_size to struct radeon_winsys
Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c')
-rw-r--r--src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c2
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 e6db145616c..ad4f21ffc35 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
@@ -292,7 +292,7 @@ static boolean do_winsys_init(struct amdgpu_winsys *ws, int fd)
memcpy(ws->info.cik_macrotile_mode_array, ws->amdinfo.gb_macro_tile_mode,
sizeof(ws->amdinfo.gb_macro_tile_mode));
- ws->gart_page_size = alignment_info.size_remote;
+ ws->info.gart_page_size = alignment_info.size_remote;
return TRUE;