diff options
author | Jason Ekstrand <[email protected]> | 2017-05-29 20:32:26 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-06-01 15:33:31 -0700 |
commit | c1a70165be1e81204033c46dac1d8361366be236 (patch) | |
tree | ae0cf70c7ffe04df96a6ba7a32e019f52216bdb8 /src/intel/isl/isl_surface_state.c | |
parent | 10903d228919085cdb160c563c481ed1cc09e34c (diff) |
intel/isl: Remove the device parameter from isl_tiling_get_info
We were only using it for validating that we don't use Ys/Yf on gen8 and
earlier. Removing it from isl_tiling_get_info lets us remove it from a
bunch of other things that had no business needing a hardware
generation.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_surface_state.c')
-rw-r--r-- | src/intel/isl/isl_surface_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c index d63b245ef23..1620c93cef1 100644 --- a/src/intel/isl/isl_surface_state.c +++ b/src/intel/isl/isl_surface_state.c @@ -550,7 +550,7 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state, assert(!(info->view->usage & ISL_SURF_USAGE_STORAGE_BIT)); struct isl_tile_info tile_info; - isl_surf_get_tile_info(dev, info->aux_surf, &tile_info); + isl_surf_get_tile_info(info->aux_surf, &tile_info); uint32_t pitch_in_tiles = info->aux_surf->row_pitch / tile_info.phys_extent_B.width; |