X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Ffreedreno%2Ffreedreno_gmem.h;h=70641d62f3f8a059269a2fe590fcba26763622d6;hb=68d2ec5f7ec67416fc6cf3f018c3a8ee3484cf38;hp=116423a40e2e80227c4062b6981ab804b418319f;hpb=f02a64dbdd2ec147167ad60357bd46d8d964290a;p=mesa.git diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.h b/src/gallium/drivers/freedreno/freedreno_gmem.h index 116423a40e2..70641d62f3f 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.h +++ b/src/gallium/drivers/freedreno/freedreno_gmem.h @@ -1,5 +1,3 @@ -/* -*- mode: C; c-file-style: "k&r"; tab-width 4; indent-tabs-mode: t; -*- */ - /* * Copyright (C) 2012 Rob Clark * @@ -35,6 +33,7 @@ /* per-pipe configuration for hw binning: */ struct fd_vsc_pipe { + // TODO a3xx/a4xx/a5xx could probably move to single bo for vsc stream, like a6xx does struct fd_bo *bo; uint8_t x, y, w, h; /* VSC_PIPE[p].CONFIG */ }; @@ -57,6 +56,8 @@ struct fd_gmem_stateobj { uint16_t bin_w, nbins_x; uint16_t minx, miny; uint16_t width, height; + uint16_t maxpw, maxph; /* maximum pipe width/height */ + uint8_t num_vsc_pipes; /* number of pipes for a20x */ }; struct fd_batch;