diff options
author | Jason Ekstrand <[email protected]> | 2020-01-21 14:23:41 -0600 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-25 02:18:33 +0000 |
commit | a1e9adc9ce54aa60ccbcbb1b66da4d607a089df0 (patch) | |
tree | 81aeb2b79cbc2df84da1b5e47ad9ead0998afabf /src/intel/common/gen_disasm.c | |
parent | bea62ea566c27f23a17e6de1e0b2f6daba527473 (diff) |
intel/aux-map: Factor out some useful helpers
This breaks add_mapping() into three pieces:
1. get_aux_entry() adds AUX-TT pages as needed and returns the
L1 entry index, L1 entry address, and L1 entry map.
2. gen_aux_map_format_bits_for_isl_surf() computes the format-
specific information that goes in the AUX-TT entry.
3. add_mapping() is a lot dumber function that now just adds the
requested mapping with the requested format bits.
This lets us break out some additional helpers in the API which we want
to use for more direct AUX-TT management in ANV.
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3519>
Diffstat (limited to 'src/intel/common/gen_disasm.c')
0 files changed, 0 insertions, 0 deletions