summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pick_status.json2
-rw-r--r--src/gallium/drivers/freedreno/gmemtool.c15
2 files changed, 11 insertions, 6 deletions
diff --git a/.pick_status.json b/.pick_status.json
index 4a10eac2247..4328aae65de 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -895,7 +895,7 @@
"description": "freedreno/gmemtool: add tile_alignw/h and a650",
"nominated": true,
"nomination_type": 1,
- "resolution": 0,
+ "resolution": 1,
"master_sha": null,
"because_sha": "f6f8a19092027ab0248e216997a5529565ce2e12"
},
diff --git a/src/gallium/drivers/freedreno/gmemtool.c b/src/gallium/drivers/freedreno/gmemtool.c
index c0862bc5ad9..983936f1a25 100644
--- a/src/gallium/drivers/freedreno/gmemtool.c
+++ b/src/gallium/drivers/freedreno/gmemtool.c
@@ -82,6 +82,8 @@ struct gpu_info {
uint32_t gpu_id;
uint32_t gmem_alignw;
uint32_t gmem_alignh;
+ uint32_t tile_alignw;
+ uint32_t tile_alignh;
uint32_t num_vsc_pipes;
uint8_t gmem_page_align;
uint32_t gmemsize_bytes;
@@ -94,11 +96,12 @@ struct gpu_info {
/* keep sorted by gpu name: */
static const struct gpu_info gpu_infos[] = {
- { "a306", 307, 32, 32, 8, 4, SZ_128K },
- { "a405", 405, 32, 32, 8, 4, SZ_256K },
- { "a530", 530, 64, 32, 16, 4, SZ_1M },
- { "a618", 618, 32, 32, 32, 1, SZ_512K },
- { "a630", 630, 32, 32, 32, 1, SZ_1M },
+ { "a306", 307, 32, 32, 32, 32, 8, 4, SZ_128K },
+ { "a405", 405, 32, 32, 32, 32, 8, 4, SZ_256K },
+ { "a530", 530, 64, 32, 64, 32, 16, 4, SZ_1M },
+ { "a618", 618, 16, 4, 32, 32, 32, 1, SZ_512K },
+ { "a630", 630, 16, 4, 32, 32, 32, 1, SZ_1M },
+ { "a650", 630, 16, 4, 96, 32, 32, 1, SZ_1M + SZ_128K },
};
@@ -167,6 +170,8 @@ main(int argc, char **argv)
.gpu_id = gpu_info->gpu_id,
.gmem_alignw = gpu_info->gmem_alignw,
.gmem_alignh = gpu_info->gmem_alignh,
+ .tile_alignw = gpu_info->tile_alignw,
+ .tile_alignh = gpu_info->tile_alignh,
.num_vsc_pipes = gpu_info->num_vsc_pipes,
.gmemsize_bytes = gpu_info->gmemsize_bytes,
};