nouveau/headers: Mark vk_push_print as cold

Reviewed-by: Mary Guillemard <mary@mary.zone>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37475>
This commit is contained in:
Mel Henning
2025-09-19 19:43:50 -04:00
committed by Marge Bot
parent e7a62d5eff
commit 7b8017a4b4
2 changed files with 3 additions and 3 deletions

View File

@@ -149,9 +149,9 @@ __${nvcl}_${mthd.name}(uint32_t *val_out, struct nv_${nvcl.lower()}_${mthd.name}
%endfor
const char *P_PARSE_${nvcl}_MTHD(uint16_t idx);
const char *P_PARSE_${nvcl}_MTHD(uint16_t idx) ATTRIBUTE_COLD;
void P_DUMP_${nvcl}_MTHD_DATA(FILE *fp, uint16_t idx, uint32_t data,
const char *prefix);
const char *prefix) ATTRIBUTE_COLD;
""")
TEMPLATE_C = Template("""\

View File

@@ -60,7 +60,7 @@ static inline void nv_push_validate(struct nv_push *push) { }
#endif
void vk_push_print(FILE *fp, const struct nv_push *push,
const struct nv_device_info *devinfo);
const struct nv_device_info *devinfo) ATTRIBUTE_COLD;
#define SUBC_NV9097 0
#define SUBC_NVA097 0