summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/isl/isl.c')
-rw-r--r--src/intel/isl/isl.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index 37d8bcba078..0eaa8087c71 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -1452,36 +1452,6 @@ isl_tiling_get_intratile_offset_el(const struct isl_device *dev,
*y_offset_el = small_y_offset_el;
}
-void
-isl_surf_get_image_intratile_offset_el(const struct isl_device *dev,
- const struct isl_surf *surf,
- uint32_t level,
- uint32_t logical_array_layer,
- uint32_t logical_z_offset,
- uint32_t *base_address_offset,
- uint32_t *x_offset_el,
- uint32_t *y_offset_el)
-{
- const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
-
- uint32_t total_x_offset_el;
- uint32_t total_y_offset_el;
- isl_surf_get_image_offset_el(surf, level,
- logical_array_layer,
- logical_z_offset,
- &total_x_offset_el,
- &total_y_offset_el);
-
-
- isl_tiling_get_intratile_offset_el(dev, surf->tiling, fmtl->bs,
- surf->row_pitch,
- total_x_offset_el,
- total_y_offset_el,
- base_address_offset,
- x_offset_el,
- y_offset_el);
-}
-
uint32_t
isl_surf_get_depth_format(const struct isl_device *dev,
const struct isl_surf *surf)