diff options
author | Marek Olšák <[email protected]> | 2016-05-01 14:11:16 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-05-02 22:49:25 +0200 |
commit | 20a77397fac5c208761217a4e90ffc7eeb5b9032 (patch) | |
tree | 07ef0c3817ce2be58a575bda60524cc9fbc81171 /src/gallium/winsys | |
parent | c8aac4fc0dce61a8061bccb8d63a94f1eacd5348 (diff) |
gallium/radeon: remove tile_mode_array_valid flags
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c index 1177d3e3c3a..e6db145616c 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -287,12 +287,10 @@ static boolean do_winsys_init(struct amdgpu_winsys *ws, int fd) memcpy(ws->info.si_tile_mode_array, ws->amdinfo.gb_tile_mode, sizeof(ws->amdinfo.gb_tile_mode)); - ws->info.si_tile_mode_array_valid = TRUE; ws->info.enabled_rb_mask = ws->amdinfo.enabled_rb_pipes_mask; memcpy(ws->info.cik_macrotile_mode_array, ws->amdinfo.gb_macro_tile_mode, sizeof(ws->amdinfo.gb_macro_tile_mode)); - ws->info.cik_macrotile_mode_array_valid = TRUE; ws->gart_page_size = alignment_info.size_remote; diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 702d0733bfa..a5b81bc3338 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -510,7 +510,6 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws) fprintf(stderr, "radeon: Kernel 3.13 is required for CIK support.\n"); return FALSE; } - ws->info.cik_macrotile_mode_array_valid = TRUE; } if (ws->info.chip_class >= SI) { @@ -519,7 +518,6 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws) fprintf(stderr, "radeon: Kernel 3.10 is required for SI support.\n"); return FALSE; } - ws->info.si_tile_mode_array_valid = TRUE; } /* Hawaii with old firmware needs type2 nop packet. |